Fix BrokerService no longer setting started flag back to false when stop finishes causing some tests to fail.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2012-12-19 18:45:20 +00:00
parent 73f0fc7820
commit d21b32e748
1 changed files with 1 additions and 0 deletions

View File

@ -733,6 +733,7 @@ public class BrokerService implements Service {
// Clear SelectorParser cache to free memory
SelectorParser.clearCache();
} finally {
started.set(false);
stopped.set(true);
stoppedLatch.countDown();
}