Author: jmesnil
Date: 2009-11-18 04:54:38 -0500 (Wed, 18 Nov 2009)
New Revision: 8307
Modified:
trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
stop the ReplicationManager when stopping the server
Modified: trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2009-11-18 04:38:26
UTC (rev 8306)
+++ trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2009-11-18 09:54:38
UTC (rev 8307)
@@ -384,7 +384,13 @@
replicationEndpoint.stop();
replicationEndpoint = null;
}
-
+
+ if (replicationManager != null)
+ {
+ replicationManager.stop();
+ replicationManager = null;
+ }
+
if (securityManager != null)
{
securityManager.stop();
Show replies by date