1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix possible error on SpotlightsLayout disposal

This commit is contained in:
Andrei Zavatski 2020-02-13 23:20:45 +03:00
parent 11ec3ddf1e
commit ab84f4085a

View File

@ -151,11 +151,11 @@ namespace osu.Game.Overlays.Rankings
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
spotlightsRequest?.Cancel();
getRankingsRequest?.Cancel();
cancellationToken?.Cancel();
base.Dispose(isDisposing);
}
}
}