1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-07 21:23:22 +08:00

Fix regression in handling logic

This commit is contained in:
Dean Herbert 2018-08-16 16:44:04 +09:00
parent 9fc0a75b71
commit 562a31713e

View File

@ -65,7 +65,7 @@ namespace osu.Desktop
Logger.Log($"Unhandled exception has been {(continueExecution ? "allowed" : "denied")} with {allowableExceptions} more allowable exceptions."); Logger.Log($"Unhandled exception has been {(continueExecution ? "allowed" : "denied")} with {allowableExceptions} more allowable exceptions.");
Task.Delay(1000).ContinueWith(_ => Interlocked.Increment(ref allowableExceptions)); Task.Delay(1000).ContinueWith(_ => Interlocked.Increment(ref allowableExceptions));
return Interlocked.Decrement(ref allowableExceptions) >= 0; return continueExecution;
} }
} }
} }