From f2c2ed32da7d380ad1f7422311fd3a14258c27a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 24 Sep 2016 14:48:36 +0300 Subject: [PATCH] Fix closing quorums on QuorumManager.stop --- .../artemis/core/server/cluster/qourum/QuorumManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java index 72bcb0064b..6b01b96403 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java @@ -96,10 +96,10 @@ public final class QuorumManager implements ClusterTopologyListener, ActiveMQCom } } } - quorums.clear(); for (Quorum quorum : quorums.values()) { quorum.close(); } + quorums.clear(); } /**