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:
parent
9fc0a75b71
commit
562a31713e
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user