ARTEMIS-2937 - tidy up shutdown, resolve intermittent failure in org.apache.activemq.artemis.tests.integration.amqp.connect.AMQPReplicaTest#testReplicaCatchupOnQueueCreates

This commit is contained in:
gtully 2021-01-19 14:36:06 +00:00 committed by Clebert Suconic
parent 006fe4010d
commit c2c637407e
1 changed files with 1 additions and 0 deletions

View File

@ -1223,6 +1223,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
for (ActiveMQComponent component : this.protocolServices) {
stopComponent(component);
}
protocolServices.clear();
final RemotingService remotingService = this.remotingService;
if (remotingService != null) {