Fix test failures due to recorder not stopping in time

This commit is contained in:
Dean Herbert
2020-10-23 14:47:08 +09:00
parent e99cf369fa
commit 55f1b05dbf
2 changed files with 16 additions and 1 deletions

View File

@ -166,6 +166,12 @@ namespace osu.Game.Tests.Visual.Gameplay
playbackManager?.ReplayInputHandler.SetFrameFromTime(Time.Current - 100);
}
[TearDownSteps]
public void TearDown()
{
AddStep("stop recorder", () => recorder.Expire());
}
public class TestFramedReplayInputHandler : FramedReplayInputHandler<TestReplayFrame>
{
public TestFramedReplayInputHandler(Replay replay)