activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r429767 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
Date Tue, 08 Aug 2006 18:42:24 GMT
Author: jstrachan
Date: Tue Aug  8 11:42:24 2006
New Revision: 429767

URL: http://svn.apache.org/viewvc?rev=429767&view=rev
Log:
minor tweak to make absolutely sure that we definitely clear down the clockDaemon

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java?rev=429767&r1=429766&r2=429767&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
Tue Aug  8 11:42:24 2006
@@ -190,7 +190,10 @@
         if (clockTicket != null) {
             clockTicket.cancel(true);
             clockTicket = null;
+        }
+        if (clockDaemon != null) {
             clockDaemon.shutdown();
+            clockDaemon = null;
         }
         DatabaseLocker service = getDatabaseLocker();
         if (service != null) {



Mime
View raw message