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:
parent
76aa4f9fb2
commit
8052aeb238
@ -491,8 +491,8 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
availableMods.UnbindAll();
|
||||
SelectedMods.UnbindAll();
|
||||
availableMods?.UnbindAll();
|
||||
SelectedMods?.UnbindAll();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user