mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Add null check in disposal clause
This commit is contained in:
@ -65,7 +65,7 @@ namespace osu.Game.Overlays
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
API.Unregister(this);
|
||||
API?.Unregister(this);
|
||||
}
|
||||
|
||||
public virtual void APIStateChanged(IAPIProvider api, APIState state)
|
||||
|
Reference in New Issue
Block a user