mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
- MFH Fix shutdown order
This commit is contained in:
parent
0d7045e13b
commit
3053a62621
@ -290,6 +290,8 @@ void shutdown_executor(TSRMLS_D) /* {{{ */
|
||||
|
||||
zend_vm_stack_destroy(TSRMLS_C);
|
||||
|
||||
zend_objects_store_free_object_storage(&EG(objects_store) TSRMLS_CC);
|
||||
|
||||
/* Destroy all op arrays */
|
||||
if (EG(full_tables_cleanup)) {
|
||||
zend_hash_apply(EG(function_table), (apply_func_t) clean_non_persistent_function_full TSRMLS_CC);
|
||||
@ -304,7 +306,6 @@ void shutdown_executor(TSRMLS_D) /* {{{ */
|
||||
FREE_HASHTABLE(*EG(symtable_cache_ptr));
|
||||
EG(symtable_cache_ptr)--;
|
||||
}
|
||||
zend_objects_store_free_object_storage(&EG(objects_store) TSRMLS_CC);
|
||||
} zend_end_try();
|
||||
|
||||
zend_try {
|
||||
|
Loading…
Reference in New Issue
Block a user