mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 03:09:54 +08:00
Fix potential nullref in disposal logic
This commit is contained in:
@@ -491,8 +491,8 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
availableMods.UnbindAll();
|
||||
SelectedMods.UnbindAll();
|
||||
availableMods?.UnbindAll();
|
||||
SelectedMods?.UnbindAll();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user