1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Cancel request on disposal for safety

This commit is contained in:
Dean Herbert 2018-09-06 17:04:33 +09:00
parent 923acfbeaf
commit ccd7c1a17d

View File

@ -134,5 +134,10 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
this.api = api;
updateDisplay();
}
protected override void Dispose(bool isDisposing)
{
getScoresRequest?.Cancel();
}
}
}