Author: borges
Date: 2011-10-10 09:35:23 -0400 (Mon, 10 Oct 2011)
New Revision: 11502
Modified:
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
HORNETQ-720 Don't continue initialization if being stopped.
Modified:
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-10-10
13:35:11 UTC (rev 11501)
+++
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-10-10
13:35:23 UTC (rev 11502)
@@ -602,6 +602,8 @@
serverLocator.close();
replicationEndpoint.stop();
+ if (!started)
+ return;
if (!isRemoteBackupUpToDate())
{
/*