summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorAndrew Morrow <andrew.morrow@10gen.com>2019-12-09 23:26:48 +0000
committerevergreen <evergreen@mongodb.com>2019-12-09 23:26:48 +0000
commitc51ba0a06ede1d87cd8df637f379bb3ceabad6fa (patch)
tree1339a4f8b46e7150d5d4488bcbf23197284971a0 /src/mongo/shell
parent68d9027d26d469ab003bf81be95df6395d4dad19 (diff)
downloadmongo-c51ba0a06ede1d87cd8df637f379bb3ceabad6fa.tar.gz
SERVER-44546 Remove mobile variants and embedded benchmarks
(cherry picked from commit be05c9ea62d6f01895545628992f1899426b88c4)
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();