We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c645e50 commit 231a1c4Copy full SHA for 231a1c4
phpdbg.c
@@ -654,8 +654,11 @@ static inline void phpdbg_sigint_handler(int signo) /* {{{ */
654
PHPDBG_G(flags) |= PHPDBG_IS_SIGNALED;
655
}
656
} else {
657
- PHPDBG_G(flags) |= PHPDBG_IS_QUITTING;
658
- zend_bailout();
+ /* we quit remote consoles on recv SIGINT */
+ if (PHPDBG_G(flags) & PHPDBG_IS_REMOTE) {
659
+ PHPDBG_G(flags) |= PHPDBG_IS_QUITTING;
660
+ zend_bailout();
661
+ }
662
663
} /* }}} */
664
@@ -1271,6 +1274,9 @@ int main(int argc, char **argv) /* {{{ */
1271
1274
/* this must be forced */
1272
1275
CG(unclean_shutdown) = 0;
1273
1276
1277
+ /* this is just helpful */
1278
+ PG(report_memleaks) = 0;
1279
+
1280
phpdbg_out:
1281
#ifndef _WIN32
1282
if ((PHPDBG_G(flags) & PHPDBG_IS_DISCONNECTED)) {
0 commit comments