diff options
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index a1d54bdb..7499ff84 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -4102,6 +4102,10 @@ ngx_http_js_periodic_handler(ngx_event_t *ev) ngx_http_request_t *r; ngx_http_connection_t hc; + if (ngx_terminate || ngx_exiting) { + return; + } + periodic = ev->data; timer = periodic->interval; |