mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-24 00:30:51 +01:00
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):
|
case .success(let syncStatuses):
|
||||||
|
|
||||||
func stopProcessing() {
|
func stopProcessing() {
|
||||||
self.database.resetAllSelectedForProcessing { _ in
|
if self.showProgress {
|
||||||
if self.showProgress {
|
self.refreshProgress?.completeTask()
|
||||||
self.refreshProgress?.completeTask()
|
|
||||||
}
|
|
||||||
os_log(.debug, log: self.log, "Done sending article statuses.")
|
|
||||||
self.operationDelegate?.operationDidComplete(self)
|
|
||||||
}
|
}
|
||||||
|
os_log(.debug, log: self.log, "Done sending article statuses.")
|
||||||
|
self.operationDelegate?.operationDidComplete(self)
|
||||||
}
|
}
|
||||||
|
|
||||||
guard syncStatuses.count > 0 else {
|
guard syncStatuses.count > 0 else {
|
||||||
|
Loading…
Reference in New Issue
Block a user