mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Revert to OSAllocatedUnfairLock (from Mutex) to keep Xcode on GitHub CI happy.
This commit is contained in:
1 parent
63aa234df2
commit
afb5d2d891
1 file changed
+1
-2
@@ -9,7 +9,6 @@
|
||||
import UIKit
|
||||
@preconcurrency import BackgroundTasks
|
||||
import os
|
||||
import Synchronization
|
||||
import WidgetKit
|
||||
import RSCore
|
||||
import RSWeb
|
||||
@@ -425,7 +424,7 @@ private extension AppDelegate {
|
||||
|
||||
Self.logger.info("Performing background refresh.")
|
||||
|
||||
let refreshTaskIsCompleted = Mutex(false)
|
||||
let refreshTaskIsCompleted = OSAllocatedUnfairLock(initialState: false)
|
||||
|
||||
enum RefreshOutcome {
|
||||
case completed
|
||||
|
||||
Reference in new issue
Block a user