From: Zeev Suraski Date: Sun, 16 Dec 2001 22:45:57 +0000 (+0000) Subject: Freeing that TLS is just too complicated. Since we're shutting X-Git-Tag: PRE_ISSET_PATCH~510 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e5e7efc5b96ecadf094d011a1fabcc6d642313d;p=php 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) --- 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