1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 15:37:46 +08:00

Add null check in SongSelect disposal for safety

This commit is contained in:
Dean Herbert 2020-09-15 14:34:58 +09:00
parent 75d0797cf8
commit 2c7492d717

@ -642,6 +642,8 @@ namespace osu.Game.Screens.Select
base.Dispose(isDisposing);
decoupledRuleset.UnbindAll();
if (music != null)
music.TrackChanged -= ensureTrackLooping;
}