File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
162
162
if (PHPDBG_G (prompt )[0 ]) {
163
163
free (PHPDBG_G (prompt )[0 ]);
164
164
}
165
-
166
165
if (PHPDBG_G (prompt )[1 ]) {
167
166
free (PHPDBG_G (prompt )[1 ]);
168
167
}
@@ -565,13 +564,13 @@ int main(int argc, char **argv) /* {{{ */
565
564
setmode (_fileno (stderr ), O_BINARY ); /* make the stdio mode be binary */
566
565
#endif
567
566
568
- phpdbg_main :
569
567
#ifdef ZTS
570
568
tsrm_startup (1 , 1 , 0 , NULL );
571
569
572
570
tsrm_ls = ts_resource (0 );
573
571
#endif
574
572
573
+ phpdbg_main :
575
574
ini_entries = NULL ;
576
575
ini_entries_len = 0 ;
577
576
ini_ignore = 0 ;
@@ -848,13 +847,14 @@ int main(int argc, char **argv) /* {{{ */
848
847
sapi_shutdown ();
849
848
}
850
849
851
- #ifdef ZTS
852
- tsrm_shutdown ();
853
- #endif
854
-
855
850
if (cleaning ) {
856
851
goto phpdbg_main ;
857
852
}
858
853
854
+ #ifdef ZTS
855
+ /* bugggy */
856
+ /* tsrm_shutdown(); */
857
+ #endif
858
+
859
859
return 0 ;
860
860
} /* }}} */
You can’t perform that action at this time.
0 commit comments