Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
Tim Eisele 2023-09-17 16:35:41 +02:00 committed by GitHub
parent 61a49e94c4
commit bce45992d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ public class CleanupCollectionAndPlaylistPathsTask : IScheduledTask
private void CleanupLinkedChildren<T>(T folder, CancellationToken cancellationToken)
where T : Folder
{
List<LinkedChild> itemsToRemove = null;
List<LinkedChild>? itemsToRemove = null;
foreach (var linkedChild in folder.LinkedChildren)
{
if (!File.Exists(folder.Path))