Introducing application 'atexit' hook.

Finalizing Python interpreter.

This closes #65 issue on GitHub.
This commit is contained in:
Max Romanov
2017-12-27 14:02:11 +03:00
parent cdfdbc43eb
commit be36cf52c8
7 changed files with 36 additions and 5 deletions

View File

@@ -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);
};