Mark DownloadWithCacheManager as MainActor.
This commit is contained in:
parent
504ebc7b45
commit
6053c58334
|
@ -126,7 +126,7 @@ private struct CallbackRecord {
|
||||||
let completion: OneShotDownloadCallback
|
let completion: OneShotDownloadCallback
|
||||||
}
|
}
|
||||||
|
|
||||||
private final class DownloadWithCacheManager {
|
@MainActor private final class DownloadWithCacheManager {
|
||||||
|
|
||||||
static let shared = DownloadWithCacheManager()
|
static let shared = DownloadWithCacheManager()
|
||||||
private var cache = WebCache()
|
private var cache = WebCache()
|
||||||
|
|
Loading…
Reference in New Issue