From 65a18129ca64decfdc530c9f10bad6931bd6e12f Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 5 Aug 2024 21:35:11 -0700 Subject: [PATCH] =?UTF-8?q?Remove=20MainActor=20annotation=20from=20FeedFi?= =?UTF-8?q?nder=20=E2=80=94=C2=A0it=E2=80=99s=20not=20needed.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/FeedFinder/Sources/FeedFinder/FeedFinder.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/FeedFinder/Sources/FeedFinder/FeedFinder.swift b/Modules/FeedFinder/Sources/FeedFinder/FeedFinder.swift index 08b06a2b8..738f7b465 100644 --- a/Modules/FeedFinder/Sources/FeedFinder/FeedFinder.swift +++ b/Modules/FeedFinder/Sources/FeedFinder/FeedFinder.swift @@ -13,11 +13,11 @@ import Web import CommonErrors import os.log -@MainActor public final class FeedFinder { +public final class FeedFinder { - private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "FeedFinder") + nonisolated(unsafe) private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "FeedFinder") - @MainActor public static func find(url: URL) async throws -> Set { + public static func find(url: URL) async throws -> Set { var downloadData: DownloadData?