diff options
author | Zeev Suraski <zeev@php.net> | 1999-06-05 19:10:40 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-06-05 19:10:40 +0000 |
commit | 89f139d3b05c60232cc05e5f9359800a1fd466cb (patch) | |
tree | ee9ea09bf8312842c3c2410d5e9b54ef00388698 | |
parent | bbce669cea7121f3acf01a9a638a4590af404fcd (diff) | |
download | php-git-89f139d3b05c60232cc05e5f9359800a1fd466cb.tar.gz |
Call the request_shutdown on modules before destroying symbol tables, so that
the session module can be implemented
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 9028da64d6..ae1e6d4d52 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -73,6 +73,7 @@ void init_compiler(CLS_D ELS_DC) void shutdown_compiler(CLS_D) { + zend_hash_apply(&module_registry, (int (*)(void *)) module_registry_cleanup); zend_stack_destroy(&CG(bp_stack)); zend_stack_destroy(&CG(function_call_stack)); zend_stack_destroy(&CG(switch_cond_stack)); @@ -80,7 +81,6 @@ void shutdown_compiler(CLS_D) zend_llist_destroy(&CG(filenames_list)); zend_hash_apply(CG(function_table), (int (*)(void *)) is_not_internal_function); zend_hash_apply(CG(class_table), (int (*)(void *)) is_not_internal_class); - zend_hash_apply(&module_registry, (int (*)(void *)) module_registry_cleanup); zend_llist_destroy(&CG(open_files)); } |