From cc3dc02afb0c8dfc08f3fa103ba5a692a767630c Mon Sep 17 00:00:00 2001 From: Loporrit <141286461+loporrit@users.noreply.github.com> Date: Sat, 28 Jun 2025 17:25:34 +0000 Subject: [PATCH] Revert the download change to see if it fixes the download bars Revert "Fix hung downloads" This reverts commit 0b7381f48626f7e843f2bdba78195f2cf5b71341. Revert "Avoid missing blk file errors on early download abort" This reverts commit e4e24d1831eaa9c45f238c5b8f9c211edbc2b749. --- MareSynchronos/WebAPI/Files/FileDownloadManager.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MareSynchronos/WebAPI/Files/FileDownloadManager.cs b/MareSynchronos/WebAPI/Files/FileDownloadManager.cs index f2cf775..7368001 100644 --- a/MareSynchronos/WebAPI/Files/FileDownloadManager.cs +++ b/MareSynchronos/WebAPI/Files/FileDownloadManager.cs @@ -295,12 +295,6 @@ public partial class FileDownloadManager : DisposableMediatorSubscriberBase } catch (OperationCanceledException) { - if (!fi.Exists) - { - _orchestrator.ReleaseDownloadSlot(); - Logger.LogDebug("{dlName}: Detected early cancellation of download", fi.Name); - return; - } Logger.LogDebug("{dlName}: Detected cancellation of download, partially extracting files for {id}", fi.Name, gameObjectHandler); } catch (Exception ex)