cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1086102 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
Date Mon, 28 Mar 2011 02:42:38 GMT
Author: ningjiang
Date: Mon Mar 28 02:42:38 2011
New Revision: 1086102

URL: http://svn.apache.org/viewvc?rev=1086102&view=rev
Log:
CXF-3426  CXF JMSContinuation leaks threads

Modified:
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java

Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java?rev=1086102&r1=1086101&r2=1086102&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
(original)
+++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
Mon Mar 28 02:42:38 2011
@@ -133,6 +133,7 @@ public class JMSContinuation implements 
             public void run() {
                 synchronized (JMSContinuation.this) { 
                     if (isPending) {
+                        cancelTimerTask();
                         doResume();
                     }
                 }



Mime
View raw message