summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-08-11 17:44:15 +0000
committerMarcus Boerger <helly@php.net>2008-08-11 17:44:15 +0000
commit3053a626215303630c2d46574be3ebf39ce6f604 (patch)
treed505259798962c3708b1c0182ebcb83f4ef97879 /Zend/zend_execute_API.c
parent0d7045e13b3720ebc750da91e84f14eacf31d92b (diff)
downloadphp-git-3053a626215303630c2d46574be3ebf39ce6f604.tar.gz
- MFH Fix shutdown order
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 00da9eac55..5e27627bae 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -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 {