call getLastError after each bench thread run so we know they're no longer active

This commit is contained in:
Eliot Horowitz
2011-10-16 22:03:09 -04:00
parent b45634307b
commit 4b26a9beb3

View File

@@ -400,7 +400,7 @@ namespace mongo {
catch( ... ){
error() << "Exception not handled in benchRun thread." << endl;
}
conn->getLastError();
config->threadsActive--;
conn.done();