1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Unsubscribe from track changed event on disposal

This commit is contained in:
Bartłomiej Dach 2020-09-14 17:03:09 +02:00
parent 6ed4c7caef
commit a377cccb4d

View File

@ -642,6 +642,7 @@ namespace osu.Game.Screens.Select
base.Dispose(isDisposing); base.Dispose(isDisposing);
decoupledRuleset.UnbindAll(); decoupledRuleset.UnbindAll();
music.TrackChanged -= ensureTrackLooping;
} }
/// <summary> /// <summary>