Author: tabish
Date: Thu Mar 4 20:14:22 2010
New Revision: 919152
URL: http://svn.apache.org/viewvc?rev=919152&view=rev
Log:
fix for: http://issues.apache.org/activemq/browse/AMQCPP-290
Modified:
activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
Modified:
activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp?rev=919152&r1=919151&r2=919152&view=diff
==============================================================================
---
activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
(original)
+++
activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp
Thu Mar 4 20:14:22 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 ){