mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Fixed infinite loop when quitting (sometimes)
This commit is contained in:
parent
c1e12316f1
commit
447ec05f31
1 changed files with 2 additions and 2 deletions
|
@ -920,7 +920,7 @@ PHPDBG_COMMAND(quit) /* {{{ */
|
|||
zend_bailout();
|
||||
}
|
||||
|
||||
return SUCCESS;
|
||||
return PHPDBG_NEXT;
|
||||
} /* }}} */
|
||||
|
||||
PHPDBG_COMMAND(clean) /* {{{ */
|
||||
|
@ -1048,7 +1048,7 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
|
|||
case PHPDBG_FINISH:
|
||||
case PHPDBG_UNTIL:
|
||||
case PHPDBG_NEXT: {
|
||||
if (!EG(in_execution)) {
|
||||
if (!EG(in_execution) && !(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) {
|
||||
phpdbg_error("Not running");
|
||||
}
|
||||
goto out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue