cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1072552 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java
Date Sun, 20 Feb 2011 10:46:15 GMT
Author: aadamchik
Date: Sun Feb 20 10:46:14 2011
New Revision: 1072552

URL: http://svn.apache.org/viewvc?rev=1072552&view=rev
Log:
CAY-1542 DI container is not shutting down Cayenne-managed connection pool

correct implementation of thread 'dispose' method

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java?rev=1072552&r1=1072551&r2=1072552&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java
Sun Feb 20 10:46:14 2011
@@ -535,6 +535,7 @@ public class PoolManager implements Data
          */
         public void dispose() {
             shouldDie = true;
+            interrupt();
         }
     }
 



Mime
View raw message