mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 04:09:53 +08:00
Cancel the existing scheduled task when running it ahead of time.
This commit is contained in:
@@ -200,6 +200,7 @@ namespace osu.Game.Screens.Select
|
||||
selectionChangedDebounce = null;
|
||||
|
||||
pendingSelection?.RunTask();
|
||||
pendingSelection?.Cancel(); // cancel the already scheduled task.
|
||||
|
||||
if (Beatmap == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user