diff --git a/src/mutex/mutex.cpp b/src/mutex/mutex.cpp index d84eb8d39ddbae618240da7f9173dc8b71440f2c..9a9ca1729002a28d0968ae8b4cc0d66056140129 100644 --- a/src/mutex/mutex.cpp +++ b/src/mutex/mutex.cpp @@ -76,13 +76,7 @@ void CMutex::exit(void) CMutex::~CMutex() { - int error=0; - - if((error=pthread_mutex_destroy(&this->access))!=0) - { - /* handle exception */ - throw CMutexException(_HERE_,"Impossible to destroy the mutex.\n"); - } + pthread_mutex_destroy(&this->access); } } // End of CMvbluefox3 namespace