diff options
author | Thies C. Arntzen <thies@php.net> | 2001-08-05 14:07:33 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-08-05 14:07:33 +0000 |
commit | 578c395411ecf85929f3a0f6bc5405e508f619c0 (patch) | |
tree | 824b54eb408775d2442b576fc7c6ae240543ad59 /sapi/cgi/cgi_main.c | |
parent | 0fe837b448ad16f3c6eb9b9c30290e1fa65a405c (diff) | |
download | php-git-578c395411ecf85929f3a0f6bc5405e508f619c0.tar.gz |
delay module_shutdown even further. zend_try and _catch need the current
globals as well.
zeev, is this a chicken & egg problem?
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r-- | sapi/cgi/cgi_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 723ec6aee0..52b9e6ccdd 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -778,11 +778,12 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine free(cgi_sapi_module.php_ini_path_override); } - php_module_shutdown(); } zend_catch { exit_status = -1; } zend_end_try(); + php_module_shutdown(); + #ifdef ZTS tsrm_shutdown(); #endif |