1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Fix potential nullref in disposal logic

This commit is contained in:
Dean Herbert 2019-12-13 00:23:32 +09:00
parent 76aa4f9fb2
commit 8052aeb238

View File

@ -491,8 +491,8 @@ namespace osu.Game.Overlays.Mods
{
base.Dispose(isDisposing);
availableMods.UnbindAll();
SelectedMods.UnbindAll();
availableMods?.UnbindAll();
SelectedMods?.UnbindAll();
}
#endregion