mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:05:37 +08:00
Guard against potential nullref
This commit is contained in:
parent
2ed43c14f8
commit
2b824787c1
@ -275,7 +275,7 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
{
|
{
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
game.UnregisterImportHandler(this);
|
game?.UnregisterImportHandler(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user