diff --git a/osu.Desktop/Program.cs b/osu.Desktop/Program.cs index 4574fb6fc9..19ceade644 100644 --- a/osu.Desktop/Program.cs +++ b/osu.Desktop/Program.cs @@ -65,7 +65,7 @@ private static bool handleException(Exception arg) Logger.Log($"Unhandled exception has been {(continueExecution ? "allowed" : "denied")} with {allowableExceptions} more allowable exceptions."); Task.Delay(1000).ContinueWith(_ => Interlocked.Increment(ref allowableExceptions)); - return Interlocked.Decrement(ref allowableExceptions) >= 0; + return continueExecution; } } }