summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend.c4
-rw-r--r--main/main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 76f1b69447..23cf94fcb2 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -930,10 +930,6 @@ void zend_shutdown(void) /* {{{ */
GLOBAL_CONSTANTS_TABLE = NULL;
#endif
zend_destroy_rsrc_list_dtors();
-
-#ifndef ZTS
- zend_interned_strings_dtor();
-#endif
}
/* }}} */
diff --git a/main/main.c b/main/main.c
index ee92bcc7b4..a7452e9f04 100644
--- a/main/main.c
+++ b/main/main.c
@@ -2474,6 +2474,10 @@ void php_module_shutdown(void)
php_output_shutdown();
+#ifndef ZTS
+ zend_interned_strings_dtor();
+#endif
+
module_initialized = 0;
#ifndef ZTS