summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_worker_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-12-27 14:02:11 +0300
committerMax Romanov <max.romanov@nginx.com>2017-12-27 14:02:11 +0300
commitbe36cf52c8b092ebb688784a1c10626cac2138d7 (patch)
treec7b725425e12be5d8aa04114c3436f78726b1db1 /src/nxt_worker_process.c
parentcdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869 (diff)
downloadunit-be36cf52c8b092ebb688784a1c10626cac2138d7.tar.gz
unit-be36cf52c8b092ebb688784a1c10626cac2138d7.tar.bz2
Introducing application 'atexit' hook.
Finalizing Python interpreter. This closes #65 issue on GitHub.
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 c66eb179..17d9e601 100644
--- a/src/nxt_worker_process.c
+++ b/src/nxt_worker_process.c
@@ -21,11 +21,11 @@ static void nxt_worker_process_sigquit_handler(nxt_task_t *task, void *obj,
nxt_port_handlers_t nxt_app_process_port_handlers = {
- .quit = nxt_worker_process_quit_handler,
+ .quit = nxt_app_quit_handler,
.new_port = nxt_port_new_port_handler,
.change_file = nxt_port_change_log_file_handler,
.mmap = nxt_port_mmap_handler,
- .data = nxt_port_app_data_handler,
+ .data = nxt_app_data_handler,
.remove_pid = nxt_port_remove_pid_handler,
};