This closes #315

This commit is contained in:
Clebert Suconic 2016-01-13 10:16:49 -05:00
commit 4bc3422f6a
1 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,10 @@ public class ThreadLeakCheckRule extends ExternalResource {
//another netty thread //another netty thread
return true; return true;
} }
else if (threadName.contains("hawtdispatch")) {
// Static workers used by MQTT client.
return true;
}
else { else {
for (StackTraceElement element : thread.getStackTrace()) { for (StackTraceElement element : thread.getStackTrace()) {
if (element.getClassName().contains("org.jboss.byteman.agent.TransformListener")) { if (element.getClassName().contains("org.jboss.byteman.agent.TransformListener")) {