mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-28 07:59:02 +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 {
|
||||
public:
|
||||
WiredTigerRecordStoreThread(const NamespaceString& ns)
|
||||
: _ns(ns) {
|
||||
: BackgroundJob(true /* deleteSelf */), _ns(ns) {
|
||||
_name = std::string("WiredTigerRecordStoreThread for ") + _ns.toString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user