1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 17:27:24 +08:00

Use same method of exiting execution as previously for safety

This commit is contained in:
Dean Herbert 2021-09-21 18:03:43 +09:00
parent 3b174a71a3
commit 5e53058fbc

View File

@ -76,7 +76,7 @@ namespace osu.Desktop
if (!DebugUtils.IsDebugBuild)
{
Logger.Log(@"osu! does not support multiple running instances.", LoggingTarget.Runtime, LogLevel.Error);
Environment.Exit(0);
return 0;
}
}