mirror of
https://github.com/ppy/osu
synced 2025-02-07 13:51:59 +00:00
Merge branch 'master' into fix-mod-crash
This commit is contained in:
commit
9f985928f6
@ -63,7 +63,7 @@ namespace osu.Desktop
|
||||
{
|
||||
bool continueExecution = Interlocked.Decrement(ref allowableExceptions) >= 0;
|
||||
|
||||
Logger.Log($"Unhandled exception has been {(continueExecution ? "allowed with {allowableExceptions} more allowable exceptions" : "denied")} .");
|
||||
Logger.Log($"Unhandled exception has been {(continueExecution ? $"allowed with {allowableExceptions} more allowable exceptions" : "denied")} .");
|
||||
|
||||
// restore the stock of allowable exceptions after a short delay.
|
||||
Task.Delay(1000).ContinueWith(_ => Interlocked.Increment(ref allowableExceptions));
|
||||
|
Loading…
Reference in New Issue
Block a user