diff options
Diffstat (limited to 'src/nxt_event_timer.c')
-rw-r--r-- | src/nxt_event_timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_event_timer.c b/src/nxt_event_timer.c index 4a260705..e9615f92 100644 --- a/src/nxt_event_timer.c +++ b/src/nxt_event_timer.c @@ -313,8 +313,7 @@ nxt_event_timer_expire(nxt_thread_t *thr, nxt_msec_t now) if (ev->state != NXT_EVENT_TIMER_DISABLED) { ev->state = NXT_EVENT_TIMER_DISABLED; - nxt_thread_work_queue_add(thr, ev->work_queue, ev->handler, - ev->task, ev, NULL); + nxt_work_queue_add(ev->work_queue, ev->handler, ev->task, ev, NULL); } } } |