diff options
Diffstat (limited to 'src/mongo/db/curop_test.cpp')
-rw-r--r-- | src/mongo/db/curop_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/curop_test.cpp b/src/mongo/db/curop_test.cpp index 098ead0674f..aaf0933f484 100644 --- a/src/mongo/db/curop_test.cpp +++ b/src/mongo/db/curop_test.cpp @@ -65,6 +65,7 @@ void timeTrackerSetup() { MONGO_INITIALIZER(CurOpTest)(InitializerContext* context) { stdx::thread t(timeTrackerSetup); + t.detach(); // Wait for listener thread to start tracking time. while (Listener::getElapsedTimeMillis() == 0) { |