Don't wrap php_module_shutdown() with zend_try. executor_globals are released in ZTS build, and this leads to crash.

This commit is contained in:
Dmitry Stogov 2018-10-25 23:41:26 +03:00
parent 33e777acbf
commit 10abc1f010

View File

@ -2157,9 +2157,7 @@ phpdbg_out:
zend_hash_destroy(&PHPDBG_G(file_sources));
zend_try {
php_module_shutdown();
} zend_end_try();
php_module_shutdown();
#ifndef _WIN32
/* force override (no zend_signals) to prevent crashes due to signal recursion in SIGSEGV/SIGBUS handlers */