]> granicus.if.org Git - php/commitdiff
MFH: don't call rshutdown twice for dl()'d modules.
authorWez Furlong <wez@php.net>
Wed, 16 Mar 2005 04:19:20 +0000 (04:19 +0000)
committerWez Furlong <wez@php.net>
Wed, 16 Mar 2005 04:19:20 +0000 (04:19 +0000)
Zend/zend_API.c

index b588944d5fb59b2261d5be72196311b6ad5848ab..f5c3ae195d74e265c63ca769f9a14c73693e63ce 100644 (file)
@@ -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) {