activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1366411 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp
Date Fri, 27 Jul 2012 15:14:37 GMT
Author: tabish
Date: Fri Jul 27 15:14:37 2012
New Revision: 1366411

URL: http://svn.apache.org/viewvc?rev=1366411&view=rev
Log:
Ensure to purge the resources map once the destroy is run

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp?rev=1366411&r1=1366410&r2=1366411&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp
Fri Jul 27 15:14:37 2012
@@ -88,6 +88,8 @@ void DynamicDestinationResolver::destroy
     while (sessionResolvers->hasNext()) {
         delete sessionResolvers->next();
     }
+
+    sessionResolverMap.clear();
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message