From bb0c234984c34bcc8043b1d83350988cac5a7ca8 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Thu, 6 Jun 2024 14:30:32 -0400 Subject: [PATCH] Backport pull request #11959 from jellyfin/release-10.9.z Do not stop validation if folder was removed Original-merge: cf591402761a7dda3fd251cb865eeba9b6533bfa Merged-by: Bond-009 Backported-by: Joshua M. Boniface --- MediaBrowser.Controller/Entities/Folder.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 0f2ec1f8f9..fcb45e7e58 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -364,7 +364,7 @@ namespace MediaBrowser.Controller.Entities if (IsFileProtocol) { - IEnumerable nonCachedChildren; + IEnumerable nonCachedChildren = []; try { @@ -373,7 +373,6 @@ namespace MediaBrowser.Controller.Entities catch (Exception ex) { Logger.LogError(ex, "Error retrieving children folder"); - return; } progress.Report(ProgressHelpers.RetrievedChildren);