summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
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_application.h
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 '')
-rw-r--r--src/nxt_application.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index ce14bc27..b42d77ff 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -218,6 +218,7 @@ struct nxt_app_module_s {
nxt_int_t (*run)(nxt_task_t *task,
nxt_app_rmsg_t *rmsg,
nxt_app_wmsg_t *wmsg);
+ void (*atexit)(nxt_task_t *task);
};