fixing thread leakage from test
This commit is contained in:
parent
5fe1fa6531
commit
5df57234d1
|
@ -55,6 +55,9 @@ public class SuppliedThreadPoolTest extends ActiveMQTestBase {
|
|||
if (server.isActive()) {
|
||||
server.stop();
|
||||
}
|
||||
serviceRegistry.getExecutorService().shutdown();
|
||||
serviceRegistry.getScheduledExecutorService().shutdown();
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue