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:
parent
879f306b22
commit
96a10d146d
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user