Add HawtDispatch Thread to acceptable leaking thread list

This commit is contained in:
Martyn Taylor 2016-01-13 11:04:40 +00:00 committed by Clebert Suconic
parent 3177cdf68b
commit 472dd320cf
1 changed files with 4 additions and 0 deletions

View File

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