mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
Only functions of temporary modules have to be unregistered here
This commit is contained in:
+1
-1
@@ -2509,7 +2509,7 @@ void module_destructor(zend_module_entry *module) /* {{{ */
|
||||
}
|
||||
|
||||
module->module_started=0;
|
||||
if (module->functions) {
|
||||
if (module->type == MODULE_TEMPORARY && module->functions) {
|
||||
zend_unregister_functions(module->functions, -1, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user