com php-src: We don't need any special handling for CG(unclean_shutdown) at this point, because i n case of exit() or die() all destructors must be
already called before.: Zend/zend_ex ecute_API.c

From: Date: Wed, 21 Jun 2017 13:11:50 +0000
Subject: com php-src: We don't need any special handling for CG(unclean_shutdown) at this point, because i n case of exit() or die() all destructors must be
already called before.: Zend/zend_ex ecute_API.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98151@lists.php.net to get a copy of this message
Commit: 06e41cadd95faa5662cb385ace128793b5533ed9 Author: Dmitry Stogov <dmitry@zend.com> Wed, 21 Jun 2017 16:11:50 +0300 Parents: 9b201aec073a52098f1633cae39bdfff68be82d7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=06e41cadd95faa5662cb385ace128793b5533ed9 Log: We don't need any special handling for CG(unclean_shutdown) at this point, because in case of exit() or die() all destructors must be already called before. Changed paths: M Zend/zend_execute_API.c Diff: diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 5d793da..ef29546 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -275,9 +275,6 @@ void shutdown_executor(void) /* {{{ */ */ zend_llist_apply(&zend_extensions, (llist_apply_func_t) zend_extension_deactivator); - if (CG(unclean_shutdown)) { - EG(symbol_table).pDestructor = zend_unclean_zval_ptr_dtor; - } zend_hash_graceful_reverse_destroy(&EG(symbol_table)); } zend_end_try(); EG(valid_symbol_table) = 0;

« previous php.cvs (#98151) next »