Skip to content

Commit

Permalink
Merge pull request #40 from tcp9/master
Browse files Browse the repository at this point in the history
fixed the bug: coredump on nginx quit under debug mode
  • Loading branch information
xiaokai-wang authored Oct 23, 2019
2 parents 80dfbc3 + f3c7786 commit b8e7c13
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 b8e7c13

Please sign in to comment.