Skip to content

Commit

Permalink
fixed the bug: coredump on nginx quit under debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tcp9 committed Oct 23, 2019
1 parent 80dfbc3 commit f3c7786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_stream_upsync_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3438,7 +3438,7 @@ ngx_stream_upsync_clear_all_events(ngx_cycle_t *cycle)
next != ngx_queue_sentinel(head);
next = ngx_queue_next(next)) {

queue_event = ngx_queue_data(next, ngx_delay_event_t, delay_delete_ev);
queue_event = ngx_queue_data(next, ngx_delay_event_t, queue);
if (queue_event->delay_delete_ev.timer_set) {
ngx_del_timer(&queue_event->delay_delete_ev);
}
Expand Down

0 comments on commit f3c7786

Please sign in to comment.