summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-06-26 13:18:50 +0200
committerJoe Watkins <krakjoe@php.net>2019-06-28 10:27:19 +0200
commit68485f8ab4df0e1b3e4f446006ce25b6be358975 (patch)
treec4b9011936860d33810039a4f95b48d9bc77420d /sapi/phpdbg/phpdbg.c
parentbc0db8ce453aab34941cfe510833d218e50fcae4 (diff)
downloadphp-git-68485f8ab4df0e1b3e4f446006ce25b6be358975.tar.gz
implement tsrm_is_shutdown API
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index eca24b4a4d..463749ea3a 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -2161,8 +2161,6 @@ phpdbg_out:
Z_PTR_P(zv) = (void*)PHPDBG_G(orig_url_wrap_php);
}
- php_module_shutdown();
-
#ifndef _WIN32
/* force override (no zend_signals) to prevent crashes due to signal recursion in SIGSEGV/SIGBUS handlers */
signal(SIGSEGV, SIG_DFL);
@@ -2173,6 +2171,8 @@ phpdbg_out:
#endif
}
+ php_module_shutdown();
+
sapi_shutdown();
if (sapi_name) {