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:
Dan Balasescu 2021-10-14 13:19:42 +09:00 committed by GitHub
commit 7a80ff206e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}
}