From 7394b3734bedba3984f854dc26c5a8f5018c7b85 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 16 Mar 2005 04:19:20 +0000 Subject: [PATCH] MFH: don't call rshutdown twice for dl()'d modules. --- Zend/zend_API.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index b588944d5f..f5c3ae195d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1488,9 +1488,6 @@ void module_destructor(zend_module_entry *module) if (module->type == MODULE_TEMPORARY) { zend_clean_module_rsrc_dtors(module->module_number TSRMLS_CC); clean_module_constants(module->module_number TSRMLS_CC); - if (module->request_shutdown_func) { - module->request_shutdown_func(module->type, module->module_number TSRMLS_CC); - } } if (module->module_started && module->module_shutdown_func) { -- 2.40.0