From d2a767049437b30e6bdf1eb09e301e2bd92474ea Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 16 Nov 2021 14:48:02 +0900 Subject: [PATCH] Remove no longer used helper method --- osu.Game/Beatmaps/WorkingBeatmap.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/osu.Game/Beatmaps/WorkingBeatmap.cs b/osu.Game/Beatmaps/WorkingBeatmap.cs index 4098a57bf2..9be239e3b0 100644 --- a/osu.Game/Beatmaps/WorkingBeatmap.cs +++ b/osu.Game/Beatmaps/WorkingBeatmap.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; @@ -188,15 +187,6 @@ namespace osu.Game.Beatmaps } } - private CancellationTokenSource createTimeoutTokenSource(TimeSpan? timeout) - { - if (Debugger.IsAttached) - // ignore timeout when debugger is attached (may be breakpointing / debugging). - return new CancellationTokenSource(); - - return new CancellationTokenSource(timeout ?? TimeSpan.FromSeconds(10)); - } - private readonly object beatmapFetchLock = new object(); private Task loadBeatmapAsync()