mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 15:07:20 +09:00
Cancel request on disposal for safety
This commit is contained in:
parent
923acfbeaf
commit
ccd7c1a17d
@ -134,5 +134,10 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
this.api = api;
|
this.api = api;
|
||||||
updateDisplay();
|
updateDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void Dispose(bool isDisposing)
|
||||||
|
{
|
||||||
|
getScoresRequest?.Cancel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user