mirror of https://github.com/apache/activemq.git
minor tweak to make absolutely sure that we definitely clear down the clockDaemon
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@429767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cab35d7553
commit
08e4b7ba19
|
@ -190,7 +190,10 @@ public class JDBCPersistenceAdapter extends DataSourceSupport implements Persist
|
||||||
if (clockTicket != null) {
|
if (clockTicket != null) {
|
||||||
clockTicket.cancel(true);
|
clockTicket.cancel(true);
|
||||||
clockTicket = null;
|
clockTicket = null;
|
||||||
|
}
|
||||||
|
if (clockDaemon != null) {
|
||||||
clockDaemon.shutdown();
|
clockDaemon.shutdown();
|
||||||
|
clockDaemon = null;
|
||||||
}
|
}
|
||||||
DatabaseLocker service = getDatabaseLocker();
|
DatabaseLocker service = getDatabaseLocker();
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
|
|
Loading…
Reference in New Issue