fixing thread leakage from test

This commit is contained in:
Clebert Suconic 2016-01-12 08:16:17 -05:00
parent 5fe1fa6531
commit 5df57234d1
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ public class SuppliedThreadPoolTest extends ActiveMQTestBase {
if (server.isActive()) {
server.stop();
}
serviceRegistry.getExecutorService().shutdown();
serviceRegistry.getScheduledExecutorService().shutdown();
super.tearDown();
}
@Test