mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Add timeout for all ManualResetEventSlim.Wait
invocations
Timeout values were taken as best-guesses of upper values we'd expect from sane execution.
This commit is contained in:
@ -103,7 +103,7 @@ namespace osu.Game.Graphics
|
||||
framesWaitedEvent.Set();
|
||||
}, 10, true);
|
||||
|
||||
framesWaitedEvent.Wait();
|
||||
framesWaitedEvent.Wait(1000);
|
||||
waitDelegate.Cancel();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user