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:
Dean Herbert
2022-06-23 14:33:20 +09:00
parent ed9c55a776
commit 7ef8b7df5f
6 changed files with 9 additions and 8 deletions

View File

@ -103,7 +103,7 @@ namespace osu.Game.Graphics
framesWaitedEvent.Set();
}, 10, true);
framesWaitedEvent.Wait();
framesWaitedEvent.Wait(1000);
waitDelegate.Cancel();
}
}