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.");
Task.Delay(1000).ContinueWith(_ => Interlocked.Increment(ref allowableExceptions));
return Interlocked.Decrement(ref allowableExceptions) >= 0;
return continueExecution;
}
}
}