Remove reset for processing as it was causing an infinite loop in some scenarios.
This commit is contained in:
parent
774201c209
commit
b7b3d2b3ee
|
@ -74,13 +74,11 @@ private extension CloudKitSendStatusOperation {
|
|||
case .success(let syncStatuses):
|
||||
|
||||
func stopProcessing() {
|
||||
self.database.resetAllSelectedForProcessing { _ in
|
||||
if self.showProgress {
|
||||
self.refreshProgress?.completeTask()
|
||||
}
|
||||
os_log(.debug, log: self.log, "Done sending article statuses.")
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
if self.showProgress {
|
||||
self.refreshProgress?.completeTask()
|
||||
}
|
||||
os_log(.debug, log: self.log, "Done sending article statuses.")
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
}
|
||||
|
||||
guard syncStatuses.count > 0 else {
|
||||
|
|
Loading…
Reference in New Issue