summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/bench.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp
index 06493a8c364..67ef3f55996 100644
--- a/src/mongo/shell/bench.cpp
+++ b/src/mongo/shell/bench.cpp
@@ -831,9 +831,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();