NO-JIRA Using interrupts on ThreadRuleCheck

This would speedup cleanup of eventual executors and stuff like that
This commit is contained in:
Clebert Suconic 2017-11-03 11:32:40 -04:00
parent ea5967b09b
commit b0c83073e2
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ public class ThreadLeakCheckRule extends ExternalResource {
for (StackTraceElement el : elements) {
System.out.println(el);
}
aliveThread.interrupt();
}
}