mirror of https://github.com/ppy/osu
Fix null reference in difficulty recommender
This commit is contained in:
parent
d5ae8f5ef4
commit
a5c1b461f6
|
@ -86,7 +86,7 @@ protected override void Dispose(bool isDisposing)
|
|||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
api.Unregister(this);
|
||||
api?.Unregister(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue