mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Merge pull request #15093 from peppy/fix-audio-filter-track-running-forever
Fix `AudioFilter` test not stopping track on forced exit
This commit is contained in:
commit
7a80ff206e
@ -163,5 +163,11 @@ namespace osu.Game.Tests.Visual.Audio
|
||||
}
|
||||
|
||||
private void waitTrackPlay() => AddWaitStep("Let track play", 10);
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
track?.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user