Fix concurrency warning for OSLog.
This commit is contained in:
parent
f3e8d5332f
commit
9f97b08475
|
@ -15,7 +15,10 @@ public extension Notification.Name {
|
|||
|
||||
public struct AccountSyncError {
|
||||
|
||||
private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
// OSLog is supposedly Sendable and will be annotated that way in the future:
|
||||
// https://forums.developer.apple.com/forums/thread/747816
|
||||
nonisolated(unsafe) private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
|
||||
public let account: Account
|
||||
public let error: Error
|
||||
|
||||
|
|
Loading…
Reference in New Issue