commit | f08b7e8e995f3eecba1d8a8d1375a7f0a398ba64 | [log] [tgz] |
---|---|---|
author | Timothy A. Bish <tabish@apache.org> | Sun Oct 19 15:39:51 2008 +0000 |
committer | Timothy A. Bish <tabish@apache.org> | Sun Oct 19 15:39:51 2008 +0000 |
tree | f11f097329ea08a0655fc99df0fcbfb59a98fcdd | |
parent | df8a40e73ac39958b22a29e85a21af39ee001625 [diff] |
Attempt to resolve pool issues on CentOS and REHL git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/pools-revamp@706034 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/decaf/util/concurrent/Mutex.cpp b/src/main/decaf/util/concurrent/Mutex.cpp index 2d028b3..47a5097 100644 --- a/src/main/decaf/util/concurrent/Mutex.cpp +++ b/src/main/decaf/util/concurrent/Mutex.cpp
@@ -36,10 +36,9 @@ //////////////////////////////////////////////////////////////////////////////// Mutex::~Mutex() { - // Unlock the mutex. + // Unlock the mutex, the destruction of the AprPool will take care + // of cleaning up the apr_thread_mutex_t allocated in the ctor. unlock(); - - apr_thread_mutex_destroy( mutex ); } ////////////////////////////////////////////////////////////////////////////////