You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/12/19 19:45:20 UTC

svn commit: r1424019 - /activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java

Author: tabish
Date: Wed Dec 19 18:45:20 2012
New Revision: 1424019

URL: http://svn.apache.org/viewvc?rev=1424019&view=rev
Log:
Fix BrokerService no longer setting started flag back to false when stop finishes causing some tests to fail. 

Modified:
    activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=1424019&r1=1424018&r2=1424019&view=diff
==============================================================================
--- activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java (original)
+++ activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java Wed Dec 19 18:45:20 2012
@@ -733,6 +733,7 @@ public class BrokerService implements Se
             // Clear SelectorParser cache to free memory
             SelectorParser.clearCache();
         } finally {
+            started.set(false);
             stopped.set(true);
             stoppedLatch.countDown();
         }