SERVER-512 prevent ugly boost assert on shell shutdown

This commit is contained in:
Aaron
2010-01-25 10:27:21 -08:00
parent 68b9522a09
commit 1664c3da4f
2 changed files with 2 additions and 1 deletions

View File

@@ -217,6 +217,7 @@ namespace mongo {
return;
clear();
_mutex.unlock(); // boost will assert if the mutex is destroyed while locked
}
void done( const string& pool , Scope * s ){