activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1088780 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
Date Mon, 04 Apr 2011 20:37:52 GMT
Author: tabish
Date: Mon Apr  4 20:37:52 2011
New Revision: 1088780

URL: http://svn.apache.org/viewvc?rev=1088780&view=rev
Log:
Fixes some memory leaks that are seen in the test run that can lead to a Runtime error on
Windows when the integration tests complete.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp?rev=1088780&r1=1088779&r2=1088780&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
Mon Apr  4 20:37:52 2011
@@ -444,7 +444,7 @@ void SimpleTest::testBytesMessageSendRec
 void SimpleTest::testLibraryInitShutdownInit() {
 
     {
-        cmsProvider.release();
+        this->tearDown();
 
         // Shutdown the ActiveMQ library
         CPPUNIT_ASSERT_NO_THROW( activemq::library::ActiveMQCPP::shutdownLibrary() );



Mime
View raw message