mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-5493 - apply patch from pedro with thanks - prevent spurious thread start on shutdown
This commit is contained in:
parent
e16815ad3b
commit
02d974c409
|
@ -990,7 +990,7 @@ public abstract class MessageDatabase extends ServiceSupport implements BrokerSe
|
|||
after.run();
|
||||
}
|
||||
|
||||
if (checkpointThread != null && !checkpointThread.isAlive()) {
|
||||
if (checkpointThread != null && !checkpointThread.isAlive() && opened.get()) {
|
||||
startCheckpoint();
|
||||
}
|
||||
return location;
|
||||
|
|
Loading…
Reference in New Issue