diff options
Diffstat (limited to 'src/mongo/shell/bench.cpp')
-rw-r--r-- | src/mongo/shell/bench.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp index 9e7dfe3d3a7..765120a8f94 100644 --- a/src/mongo/shell/bench.cpp +++ b/src/mongo/shell/bench.cpp @@ -836,9 +836,9 @@ BenchRunWorker::BenchRunWorker(size_t id, BenchRunWorker::~BenchRunWorker() { try { - // We explicitly call join() on the started thread to ensure that any thread-local variables - // (e.g. 'currentClient' when running through mongoebench) have been destructed before - // returning from BenchRunWorker's destructor. + // We explicitly call join() on the started thread to ensure + // that any thread-local variables have been destructed + // before returning from BenchRunWorker's destructor. _thread.join(); } catch (...) { severe() << "caught exception in destructor: " << exceptionToStatus(); |