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:
parent
2a7f7f114b
commit
b223f5ea74
@ -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[]
|
||||
|
Loading…
Reference in New Issue
Block a user