Skip to content

Commit

Permalink
Merge pull request #267 from tcp9/fix-quit-coredump
Browse files Browse the repository at this point in the history
fixed the bug: coredump when nginx reload or restarted
  • Loading branch information
xiaokai-wang authored Oct 22, 2019
2 parents 3861780 + ff62f98 commit 506d9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_upsync_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -3612,7 +3612,7 @@ ngx_http_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 506d9be

Please sign in to comment.