Skip to content
Snippets Groups Projects
Commit 0e703162 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Remove exception throw from destructor

parent 25f2b165
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment