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
};
Process.Start(startInfo);
Environment.Exit(0);
base.AttemptExit();
return true;
}
catch (Exception e)