Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 82771 invoked from network); 4 Mar 2010 20:14:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 20:14:54 -0000 Received: (qmail 81904 invoked by uid 500); 4 Mar 2010 20:14:43 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 81880 invoked by uid 500); 4 Mar 2010 20:14:43 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 81873 invoked by uid 99); 4 Mar 2010 20:14:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:14:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:14:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BE97F23888FE; Thu, 4 Mar 2010 20:14:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r919152 - /activemq/activemq-cpp/branches/activemq-cpp-3.1.x/activemq-cpp/src/main/activemq/core/ActiveMQConnectionSupport.cpp Date: Thu, 04 Mar 2010 20:14:22 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100304201422.BE97F23888FE@eris.apache.org> 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 ){