Skip to content

Commit 2c8221f

Browse files
committed
fix: check if process exited in window handle loop
1 parent cbe4c00 commit 2c8221f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Bloxstrap/Bootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ private async Task StartRoblox()
859859
{
860860
using var process = Process.Start(startInfo)!;
861861

862-
while (process.MainWindowHandle == IntPtr.Zero)
862+
while (process.MainWindowHandle == IntPtr.Zero && !process.HasExited)
863863
Thread.Sleep(100);
864864

865865
_appPid = process.Id;

0 commit comments

Comments
 (0)