mirror of
https://github.com/php/php-src.git
synced 2026-04-02 21:52:36 +02:00
destroy freelist before destroying the mutexes
This commit is contained in:
@@ -442,6 +442,7 @@ ZEND_API int zend_startup_strtod(void) /* {{{ */
|
||||
/* }}} */
|
||||
ZEND_API int zend_shutdown_strtod(void) /* {{{ */
|
||||
{
|
||||
destroy_freelist();
|
||||
#ifdef ZTS
|
||||
tsrm_mutex_free(dtoa_mutex);
|
||||
dtoa_mutex = NULL;
|
||||
@@ -449,7 +450,6 @@ ZEND_API int zend_shutdown_strtod(void) /* {{{ */
|
||||
tsrm_mutex_free(pow5mult_mutex);
|
||||
pow5mult_mutex = NULL;
|
||||
#endif
|
||||
destroy_freelist();
|
||||
return 1;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user