Author: tabish
Date: Thu Mar  4 20:11:50 2010
New Revision: 919151

URL: http://svn.apache.org/viewvc?rev=919151&view=rev
Log:
fix for: http://issues.apache.org/activemq/browse/AMQCPP-290

Modified:
    
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp

Modified: 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp?rev=919151&r1=919150&r2=919151&view=diff
==============================================================================
--- 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
 (original)
+++ 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
 Thu Mar  4 20:11:50 2010
@@ -122,6 +122,9 @@
 
         if( transport.get() != NULL ){
 
+            // Clear the listener, we don't care about errors at this point.
+            transport->setTransportListener( NULL );
+
             try{
                 transport->close();
             }catch( exceptions::ActiveMQException& ex ){


Reply via email to