summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_worker_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_worker_process.c')
-rw-r--r--src/nxt_worker_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_worker_process.c b/src/nxt_worker_process.c
index bf35f2b5..7ba92dea 100644
--- a/src/nxt_worker_process.c
+++ b/src/nxt_worker_process.c
@@ -97,7 +97,7 @@ nxt_worker_process_quit(nxt_task_t *task)
rt->listen_sockets->nelts = 0;
}
- nxt_runtime_quit(task);
+ nxt_runtime_quit(task, 0);
}
@@ -124,7 +124,7 @@ nxt_worker_process_sigterm_handler(nxt_task_t *task, void *obj, void *data)
/* A fast exit. */
- nxt_runtime_quit(task);
+ nxt_runtime_quit(task, 0);
}