summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-20 14:20:34 +0000
committerZeev Suraski <zeev@php.net>2001-07-20 14:20:34 +0000
commit8084d278850b9b4cf4880ed75cf19f04c38b953f (patch)
tree9a25327a80e28385e284a968651c876d02813ef5 /Zend/zend.c
parent13ac04b8e504ba5b0d531bee43d602e6980e2e20 (diff)
downloadphp-git-8084d278850b9b4cf4880ed75cf19f04c38b953f.tar.gz
Implement a more granular shutdown mechanism for the executor -
prevent corruption of constants and missing destructions of resources
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 5e911802c9..87717b1984 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -536,9 +536,8 @@ void zend_deactivate(CLS_D ELS_DC)
if (setjmp(EG(bailout))==0) {
shutdown_scanner(CLS_C);
}
- if (setjmp(EG(bailout))==0) {
- shutdown_executor(ELS_C);
- }
+ /* shutdown_executor() takes care of its own bailout handling */
+ shutdown_executor(ELS_C);
if (setjmp(EG(bailout))==0) {
shutdown_compiler(CLS_C);
}