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

@@ -179,6 +179,7 @@ NXT_EXPORT nxt_application_module_t nxt_app_module = {
nxt_string(PHP_VERSION),
nxt_php_init,
nxt_php_run,
NULL,
};