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
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public static int Main(string[] args)
if (!DebugUtils.IsDebugBuild)
{
Logger.Log(@"osu! does not support multiple running instances.", LoggingTarget.Runtime, LogLevel.Error);
Environment.Exit(0);
return 0;
}
}