Avoid starting a persistence adapter if the broker is stop()ed before once has been created.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@388081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-03-23 07:23:33 +00:00
parent 6412d6526a
commit 47f2bb7cc2
1 changed files with 1 additions and 2 deletions

View File

@ -407,8 +407,7 @@ public class BrokerService implements Service {
VMTransportFactory.stopped(getBrokerName());
stopper.stop(getPersistenceAdapter());
stopper.stop(persistenceAdapter);
if (broker != null) {
stopper.stop(broker);