mirror of https://github.com/apache/activemq.git
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:
parent
6412d6526a
commit
47f2bb7cc2
|
@ -407,8 +407,7 @@ public class BrokerService implements Service {
|
|||
VMTransportFactory.stopped(getBrokerName());
|
||||
|
||||
|
||||
|
||||
stopper.stop(getPersistenceAdapter());
|
||||
stopper.stop(persistenceAdapter);
|
||||
|
||||
if (broker != null) {
|
||||
stopper.stop(broker);
|
||||
|
|
Loading…
Reference in New Issue