0
0
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:
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 {
public:
WiredTigerRecordStoreThread(const NamespaceString& ns)
: _ns(ns) {
: BackgroundJob(true /* deleteSelf */), _ns(ns) {
_name = std::string("WiredTigerRecordStoreThread for ") + _ns.toString();
}