mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
always unset unclean_shutdown
This commit is contained in:
parent
734fe5508a
commit
f822764129
8
phpdbg.c
8
phpdbg.c
@ -1046,9 +1046,10 @@ phpdbg_interact:
|
||||
/* set streams */
|
||||
if (streams[0] && streams[1]) {
|
||||
PHPDBG_G(flags) &= ~PHPDBG_IS_QUITTING;
|
||||
|
||||
CG(unclean_shutdown) = 0;
|
||||
}
|
||||
|
||||
/* this must be forced */
|
||||
CG(unclean_shutdown) = 0;
|
||||
}
|
||||
#endif
|
||||
if (PHPDBG_G(flags) & PHPDBG_IS_QUITTING) {
|
||||
@ -1057,6 +1058,9 @@ phpdbg_interact:
|
||||
} zend_end_try();
|
||||
} while(!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING));
|
||||
|
||||
/* this must be forced */
|
||||
CG(unclean_shutdown) = 0;
|
||||
|
||||
phpdbg_out:
|
||||
#ifndef _WIN32
|
||||
if (PHPDBG_G(flags) & PHPDBG_IS_DISCONNECTED) {
|
||||
|
Loading…
Reference in New Issue
Block a user