mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Fix concurrency warning.
This commit is contained in:
1 parent
ee466170c8
commit
dac3ff01b3
1 file changed
+1
-1
@@ -917,7 +917,7 @@ public protocol CloudKitZone: AnyObject {
|
||||
var recordToSaveChunks = recordsToSave.chunked(into: 200)
|
||||
var recordIDsToDeleteChunks = recordIDsToDelete.chunked(into: 200)
|
||||
|
||||
func saveChunks(completion: @escaping (Result<Void, Error>) -> Void) {
|
||||
@MainActor func saveChunks(completion: @escaping (Result<Void, Error>) -> Void) {
|
||||
if !recordToSaveChunks.isEmpty {
|
||||
let records = recordToSaveChunks.removeFirst()
|
||||
|
||||
|
||||
Reference in new issue
Block a user