mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
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.
This commit is contained in:
parent
9b201aec07
commit
06e41cadd9
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue