diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-26 20:43:49 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-27 00:00:16 +0100 |
commit | 3ab7734b88f1842b818526e2e3f34022c3270057 (patch) | |
tree | 5b15ca20f618c68f16b66a351f9437f2c0c2adc3 /sapi/phpdbg/phpdbg_cmd.c | |
parent | 69bc61de419ccd92bfa308f356b56591f7696413 (diff) | |
download | php-git-3ab7734b88f1842b818526e2e3f34022c3270057.tar.gz |
Stabilize execution, always run destructors and extended file breakpoints
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_cmd.c b/sapi/phpdbg/phpdbg_cmd.c index 13d5a0d634..a170d52955 100644 --- a/sapi/phpdbg/phpdbg_cmd.c +++ b/sapi/phpdbg/phpdbg_cmd.c @@ -727,7 +727,7 @@ PHPDBG_API char *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */ char *cmd = NULL; char *buffer = NULL; - if (!(PHPDBG_G(flags) & PHPDBG_IS_STOPPING)) { + if ((PHPDBG_G(flags) & (PHPDBG_IS_STOPPING | PHPDBG_IS_RUNNING)) != PHPDBG_IS_STOPPING) { if ((PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && (buffered == NULL) && !phpdbg_active_sigsafe_mem(TSRMLS_C)) { fflush(PHPDBG_G(io)[PHPDBG_STDOUT].ptr); } |