mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[kernel] Empty wait_queue after calling clear()
Bugfix - wait_queue::clear() was not emptying out its util::deque after waking all the threads, so it would just grow forever.
This commit is contained in:
@@ -58,4 +58,5 @@ wait_queue::clear(uint64_t value)
|
||||
if (!t->exited()) t->wake(value);
|
||||
t->handle_release();
|
||||
}
|
||||
m_threads.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user