1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 09:30:01 +08:00

Fix potential nullref in disposal logic

This commit is contained in:
Dean Herbert
2019-12-13 00:23:32 +09:00
Unverified
parent 76aa4f9fb2
commit 8052aeb238
+2 -2
View File
@@ -491,8 +491,8 @@ namespace osu.Game.Overlays.Mods
{
base.Dispose(isDisposing);
availableMods.UnbindAll();
SelectedMods.UnbindAll();
availableMods?.UnbindAll();
SelectedMods?.UnbindAll();
}
#endregion