0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-17433: Don't leak WiredTiger oplog background threads

This commit is contained in:
Geert Bosch 2015-03-19 10:42:33 -04:00
parent 879f306b22
commit 96a10d146d

View File

@ -59,7 +59,7 @@ namespace mongo {
class WiredTigerRecordStoreThread : public BackgroundJob { class WiredTigerRecordStoreThread : public BackgroundJob {
public: public:
WiredTigerRecordStoreThread(const NamespaceString& ns) WiredTigerRecordStoreThread(const NamespaceString& ns)
: _ns(ns) { : BackgroundJob(true /* deleteSelf */), _ns(ns) {
_name = std::string("WiredTigerRecordStoreThread for ") + _ns.toString(); _name = std::string("WiredTigerRecordStoreThread for ") + _ns.toString();
} }