diff --git a/Web/Sources/Web/OneShotDownload.swift b/Web/Sources/Web/OneShotDownload.swift index dc03d786f..98f811fc8 100755 --- a/Web/Sources/Web/OneShotDownload.swift +++ b/Web/Sources/Web/OneShotDownload.swift @@ -126,7 +126,7 @@ private struct CallbackRecord { let completion: OneShotDownloadCallback } -private final class DownloadWithCacheManager { +@MainActor private final class DownloadWithCacheManager { static let shared = DownloadWithCacheManager() private var cache = WebCache()