Timer should be marked as it is not in tree after deletion.
This closes #64 issue on GitHub.
This commit is contained in:
@@ -220,6 +220,7 @@ nxt_timer_changes_commit(nxt_event_engine_t *engine)
|
||||
timer->time, timer->state);
|
||||
|
||||
nxt_rbtree_delete(&timers->tree, &timer->node);
|
||||
nxt_timer_in_tree_clear(timer);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user