summaryrefslogtreecommitdiff
path: root/src/mongo/shell/bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/bench.cpp')
-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 aee5ea1217f..c8f5a6acbf0 100644
--- a/src/mongo/shell/bench.cpp
+++ b/src/mongo/shell/bench.cpp
@@ -748,9 +748,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();