Return back on the main thread
This commit is contained in:
parent
bdc02f0b0b
commit
5e18b2b569
|
@ -365,7 +365,9 @@ extension CloudKitZone {
|
|||
self.delete(cursor: cursor, carriedRecords: records, completion: completion)
|
||||
} else {
|
||||
guard !records.isEmpty else {
|
||||
completion(.success(()))
|
||||
DispatchQueue.main.async {
|
||||
completion(.success(()))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue