activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1341614 - in /activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state: ConnectionState.cpp SessionState.cpp
Date Tue, 22 May 2012 20:29:16 GMT
Author: tabish
Date: Tue May 22 20:29:15 2012
New Revision: 1341614

URL: http://svn.apache.org/viewvc?rev=1341614&view=rev
Log:
Add some additional resource cleanups.

Modified:
    activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/ConnectionState.cpp
    activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/SessionState.cpp

Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/ConnectionState.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/ConnectionState.cpp?rev=1341614&r1=1341613&r2=1341614&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/ConnectionState.cpp
(original)
+++ activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/ConnectionState.cpp
Tue May 22 20:29:15 2012
@@ -54,7 +54,8 @@ void ConnectionState::reset( const Point
     transactions.clear();
     sessions.clear();
     tempDestinations.clear();
-    disposed.set( false );
+    disposed.set(false);
+    recoveringPullConsumers.clear();
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/SessionState.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/SessionState.cpp?rev=1341614&r1=1341613&r2=1341614&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/SessionState.cpp
(original)
+++ activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/state/SessionState.cpp
Tue May 22 20:29:15 2012
@@ -34,6 +34,8 @@ SessionState::SessionState( const Pointe
 
 ////////////////////////////////////////////////////////////////////////////////
 SessionState::~SessionState() {
+	producers.clear();
+	consumers.clear();
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message