Skip to content

Commit 87a29a9

Browse files
committed
nope
1 parent 017beb0 commit 87a29a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

phpdbg.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
162162
if (PHPDBG_G(prompt)[0]) {
163163
free(PHPDBG_G(prompt)[0]);
164164
}
165-
166165
if (PHPDBG_G(prompt)[1]) {
167166
free(PHPDBG_G(prompt)[1]);
168167
}
@@ -565,13 +564,13 @@ int main(int argc, char **argv) /* {{{ */
565564
setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
566565
#endif
567566

568-
phpdbg_main:
569567
#ifdef ZTS
570568
tsrm_startup(1, 1, 0, NULL);
571569

572570
tsrm_ls = ts_resource(0);
573571
#endif
574572

573+
phpdbg_main:
575574
ini_entries = NULL;
576575
ini_entries_len = 0;
577576
ini_ignore = 0;
@@ -848,13 +847,14 @@ int main(int argc, char **argv) /* {{{ */
848847
sapi_shutdown();
849848
}
850849

851-
#ifdef ZTS
852-
tsrm_shutdown();
853-
#endif
854-
855850
if (cleaning) {
856851
goto phpdbg_main;
857852
}
858853

854+
#ifdef ZTS
855+
/* bugggy */
856+
/* tsrm_shutdown(); */
857+
#endif
858+
859859
return 0;
860860
} /* }}} */

0 commit comments

Comments
 (0)