1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 01:33:10 +08:00

Merge pull request #21520 from frenzibyte/fix-preview-track-disposal

Fix preview track disposal potentially leaving game track muted
This commit is contained in:
Dan Balasescu 2022-12-06 14:19:21 +09:00 committed by GitHub
commit e47f933cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,8 @@ namespace osu.Game.Audio
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
Stop();
Track?.Dispose();
}
}