mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Unsubscribe from API state change event.
This commit is contained in:
parent
63f2436220
commit
644aaa8167
@ -197,6 +197,9 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
|
||||
if (osuGame != null)
|
||||
osuGame.Ruleset.ValueChanged -= handleRulesetChange;
|
||||
|
||||
if (api != null)
|
||||
api.OnStateChange -= handleApiStateChange;
|
||||
}
|
||||
|
||||
private GetScoresRequest getScoresRequest;
|
||||
|
Loading…
Reference in New Issue
Block a user