summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-10-25 23:41:26 +0300
committerDmitry Stogov <dmitry@zend.com>2018-10-25 23:41:26 +0300
commit10abc1f010b775d9f21060c5041d34c25f14a2a1 (patch)
tree3f61f87db464fee86ba5ac590f6a06dc43755703 /sapi/phpdbg/phpdbg.c
parent33e777acbfb9bbd2a7efabc7365104780db4c6b0 (diff)
downloadphp-git-10abc1f010b775d9f21060c5041d34c25f14a2a1.tar.gz
Don't wrap php_module_shutdown() with zend_try. executor_globals are released in ZTS build, and this leads to crash.
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index d5fd81ea6c..7836f1e351 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -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 */