Skip to content

Commit afe163b

Browse files
committed
fix(zaparoo): delay initial frontend spawn
1 parent 698c74e commit afe163b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

support/zaparoo/alt_launcher.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,10 +522,11 @@ void alt_launcher_init(bool native_crt)
522522
if (!alt_launcher_configured() || s_pid || s_gave_up)
523523
return;
524524
s_crash_count = 0;
525-
s_respawn_timer = 0;
525+
s_respawn_timer = GetTimer(500);
526+
if (!s_respawn_timer) s_respawn_timer = 1;
526527
s_tty_deadline = 0;
527528
s_native_crt = native_crt;
528-
s_init_pending = true;
529+
s_init_pending = false;
529530
}
530531

531532
void alt_launcher_prepare_for_script(void)

0 commit comments

Comments
 (0)