mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 12:18:26 +00:00
Fix some concurrency warnings.
This commit is contained in:
1 parent
db9a8c7feb
commit
7f545c5a23
1 file changed
+2
-2
@@ -12,9 +12,9 @@ import Web
|
||||
|
||||
struct CacheCleaner {
|
||||
|
||||
static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CacheCleaner")
|
||||
nonisolated(unsafe) static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CacheCleaner")
|
||||
|
||||
static func purgeIfNecessary() {
|
||||
@MainActor static func purgeIfNecessary() {
|
||||
|
||||
guard let flushDate = AppDefaults.shared.lastImageCacheFlushDate else {
|
||||
AppDefaults.shared.lastImageCacheFlushDate = Date()
|
||||
|
||||
Reference in new issue
Block a user