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:
parent
75d0797cf8
commit
2c7492d717
@ -642,6 +642,8 @@ namespace osu.Game.Screens.Select
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
decoupledRuleset.UnbindAll();
|
||||
|
||||
if (music != null)
|
||||
music.TrackChanged -= ensureTrackLooping;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user