Skip to content

Commit

Permalink
[fix](stop)fix missing notify_all() after the stop (apache#27796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryange authored Nov 30, 2023
1 parent 8ca8a06 commit f1846c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion be/src/pipeline/pipeline_x/dependency.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f1846c1

Please sign in to comment.