1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:45:36 +08:00

remove unnecessary token register

This commit is contained in:
Sheppsu 2024-09-06 06:00:33 -04:00
parent 2a7f7f114b
commit b223f5ea74

View File

@ -98,7 +98,6 @@ namespace osu.Game.Rulesets.Osu.UI
generationCancellationSource?.Cancel();
generationCancellationSource = new CancellationTokenSource();
generationCancellationSource.Token.Register(invalidateLoaded);
// It's faster to reinitialise the whole drawable stack than use `Clear` on `PooledDrawableWithLifetimeContainer`
var newDrawables = new Drawable[]