clear the ids map in IdleRegister::destroy (prevent double deallocation)
Fixes #3849
This commit is contained in:
@@ -91,6 +91,7 @@ void IdleRegister::destroy()
|
|||||||
DataWrapper *w = static_cast<DataWrapper *>(id.first);
|
DataWrapper *w = static_cast<DataWrapper *>(id.first);
|
||||||
delete w;
|
delete w;
|
||||||
}
|
}
|
||||||
|
ids.clear();
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user