mirror of https://github.com/ppy/osu
Fix regression in handling logic
This commit is contained in:
parent
9fc0a75b71
commit
562a31713e
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue