1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 23:59:16 +08:00

Replace with attemptexit to better display how restarting is borked

This commit is contained in:
smallketchup82 2024-06-27 12:57:24 -04:00
parent 04c8df065c
commit 36a3765ee4
No known key found for this signature in database
GPG Key ID: 7345B7C561243F1E

View File

@ -114,7 +114,7 @@ namespace osu.Desktop
UseShellExecute = true UseShellExecute = true
}; };
Process.Start(startInfo); Process.Start(startInfo);
Environment.Exit(0); base.AttemptExit();
return true; return true;
} }
catch (Exception e) catch (Exception e)