don't call rshutdown twice for dl()'d modules.

Spotted by Andrei.
This commit is contained in:
Wez Furlong 2005-03-16 04:18:42 +00:00
parent 9d5b3e55e3
commit 7de1d279cc

View File

@ -1510,9 +1510,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) {