From d1a42f2a04e07f525abf28c89d2aeea3d8b43a90 Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Sun, 15 Jan 2023 19:59:53 +0100 Subject: [PATCH] actually fix issue --- MareSynchronos/Managers/CachedPlayer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MareSynchronos/Managers/CachedPlayer.cs b/MareSynchronos/Managers/CachedPlayer.cs index e4aae45..fd230a7 100644 --- a/MareSynchronos/Managers/CachedPlayer.cs +++ b/MareSynchronos/Managers/CachedPlayer.cs @@ -214,9 +214,10 @@ public class CachedPlayer ApplyCustomizationData(kind, downloadToken); } - _downloadCancellationTokenSource = null; }, downloadToken).ContinueWith(task => { + _downloadCancellationTokenSource = null; + if (!task.IsCanceled) return; Logger.Debug("Download Task was cancelled");