[fix](stop)fix missing notify_all() after the stop (#27796)
This commit is contained in:
@ -225,7 +225,10 @@ struct RuntimeFilterTimerQueue {
|
||||
_shutdown = true;
|
||||
}
|
||||
|
||||
void stop() { _stop = true; }
|
||||
void stop() {
|
||||
_stop = true;
|
||||
cv.notify_all();
|
||||
}
|
||||
|
||||
void wait_for_shutdown() const {
|
||||
while (!_shutdown) {
|
||||
|
||||
Reference in New Issue
Block a user