mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
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…
x
Reference in New Issue
Block a user