Explicitly clear waiting task queues in PriorityMultiLock::kill().
This commit is contained in:
parent
391776ab38
commit
d5f7cd862c
|
@ -144,6 +144,9 @@ public:
|
|||
available = 0;
|
||||
|
||||
waitingPriorities.clear();
|
||||
for (auto& p : priorities) {
|
||||
p.queue.clear();
|
||||
}
|
||||
}
|
||||
|
||||
std::string toString() const {
|
||||
|
|
Loading…
Reference in New Issue