nghttpx: Fix bug that worker process never exit

This commit is contained in:
Tatsuhiro Tsujikawa 2021-09-15 21:00:41 +09:00
parent 6d29de0f1e
commit 1feeda4514
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ CloseWait::~CloseWait() {
--worker_stat->num_close_waits;
if (worker->get_graceful_shutdown() && worker_stat->num_connections == 0 &&
worker_stat->num_close_waits) {
worker_stat->num_close_waits == 0) {
ev_break(loop);
}
}