diff options
author | Geert Bosch <geert@mongodb.com> | 2015-03-19 10:42:33 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2015-03-19 17:02:27 -0400 |
commit | 96a10d146d236bb12ec787223bff494caa197f36 (patch) | |
tree | 2199dca5ff15fd04133733501e6a0bb9d59034c0 /src | |
parent | 879f306b22daec81a9a2388304539e21b3df0483 (diff) | |
download | mongo-96a10d146d236bb12ec787223bff494caa197f36.tar.gz |
SERVER-17433: Don't leak WiredTiger oplog background threads
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp index 88349b3dd2d..e5b8fdb95d7 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp @@ -59,7 +59,7 @@ namespace mongo { class WiredTigerRecordStoreThread : public BackgroundJob { public: WiredTigerRecordStoreThread(const NamespaceString& ns) - : _ns(ns) { + : BackgroundJob(true /* deleteSelf */), _ns(ns) { _name = std::string("WiredTigerRecordStoreThread for ") + _ns.toString(); } |