cvs: php4 /sapi/cgi cgi_main.c
| From: | Thies C. Arntzen | Date: | Sun, 05 Aug 2001 14:07:33 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6569@lists.php.net to get a copy of this message | ||
thies Sun Aug 5 10:07:33 2001 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
delay module_shutdown even further. zend_try and _catch need the current
globals as well.
zeev, is this a chicken & egg problem?
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.128 php4/sapi/cgi/cgi_main.c:1.129
--- php4/sapi/cgi/cgi_main.c:1.128 Sun Aug 5 10:04:23 2001
+++ php4/sapi/cgi/cgi_main.c Sun Aug 5 10:07:33 2001
@@ -778,10 +778,11 @@
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();