From 8e5e7efc5b96ecadf094d011a1fabcc6d642313d Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 16 Dec 2001 22:45:57 +0000 Subject: [PATCH] Freeing that TLS is just too complicated. Since we're shutting down anyway, remove it for now (it did not exist in 4.0.6) --- main/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main/main.c b/main/main.c index 2808136715..a6b7bb107e 100644 --- a/main/main.c +++ b/main/main.c @@ -1001,9 +1001,7 @@ void php_module_shutdown(TSRMLS_D) /* close down the ini config */ php_shutdown_config(); -#ifdef ZTS - ts_free_thread(); -#else +#ifndef ZTS zend_ini_shutdown(TSRMLS_C); shutdown_memory_manager(CG(unclean_shutdown), 1); #endif -- 2.50.1