2
0
Fork 0

[core] Stop stat cache waitqueue in sigint/worker stop

This commit is contained in:
Thomas Porzelt 2009-08-04 10:08:08 +02:00
parent 24483f55ed
commit 8a13426774
1 changed files with 1 additions and 0 deletions

View File

@ -470,6 +470,7 @@ void li_worker_stop(liWorker *context, liWorker *wrk) {
ev_async_stop(wrk->loop, &wrk->new_con_watcher);
li_waitqueue_stop(&wrk->io_timeout_queue);
li_waitqueue_stop(&wrk->throttle_queue);
li_waitqueue_stop(&wrk->stat_cache->delete_queue);
li_worker_new_con_cb(wrk->loop, &wrk->new_con_watcher, 0); /* handle remaining new connections */
/* close keep alive connections */