summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 6ab3072457..3dfea5f121 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -617,14 +617,14 @@ void module_destructor(zend_module_entry *module)
#if 0
zend_printf("%s: Request shutdown\n",module->name);
#endif
- module->request_shutdown_func();
+ module->request_shutdown_func(module->type, module->module_number);
}
module->request_started=0;
if (module->module_started && module->module_shutdown_func) {
#if 0
zend_printf("%s: Module shutdown\n",module->name);
#endif
- module->module_shutdown_func();
+ module->module_shutdown_func(module->type, module->module_number);
}
module->module_started=0;
unregister_functions(module->functions,-1);
@@ -662,7 +662,7 @@ int module_registry_cleanup(zend_module_entry *module)
#if 0
zend_printf("%s: Request shutdown\n",module->name);
#endif
- module->request_shutdown_func();
+ module->request_shutdown_func(module->type, module->module_number);
}
module->request_started=0;
return 0;