From 2d0729b2c559e008f67f89e4fc9a151a6608855d Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 9 Jun 2025 23:56:08 -0700 Subject: [PATCH] Bug Fix: Set URL object before attempting to log This was logging a potentially unassigned variable. Oops. Signed-off-by: Christopher Snowhill --- Playlist/PlaylistLoader.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Playlist/PlaylistLoader.m b/Playlist/PlaylistLoader.m index d8ab1eefd..6ffb6001e 100644 --- a/Playlist/PlaylistLoader.m +++ b/Playlist/PlaylistLoader.m @@ -473,11 +473,11 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc id innerTask = nil; NSURL *url = nil; @try { + url = obj; + if(containerTask) { pathTask = [containerTask startChildWithOperation:@"Process path as container" description:[NSString stringWithFormat:@"Checking if file is container: %@", url]]; } - - url = obj; [lock lock]; if([uniqueURLs containsObject:url]) { [lock unlock];