From 1e3847c73c04c352c48ea68c3545c7b440fd4b2d Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 29 Apr 2017 20:28:56 +0900 Subject: [PATCH] Cancel the existing scheduled task when running it ahead of time. --- osu.Game/Screens/Select/SongSelect.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Screens/Select/SongSelect.cs b/osu.Game/Screens/Select/SongSelect.cs index c8b46d5888..7d0648ac11 100644 --- a/osu.Game/Screens/Select/SongSelect.cs +++ b/osu.Game/Screens/Select/SongSelect.cs @@ -200,6 +200,7 @@ namespace osu.Game.Screens.Select selectionChangedDebounce = null; pendingSelection?.RunTask(); + pendingSelection?.Cancel(); // cancel the already scheduled task. if (Beatmap == null) return;