mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-28 01:39:47 +01:00
Stop processing when we don't return status records.
This commit is contained in:
parent
f47e82f804
commit
634d728ebe
@ -131,10 +131,10 @@ private extension CloudKitSendStatusOperation {
|
|||||||
|
|
||||||
// If this happens, we have somehow gotten into a state where we have new status records
|
// If this happens, we have somehow gotten into a state where we have new status records
|
||||||
// but the articles didn't come back in the fetch. We need to clean up those sync records
|
// but the articles didn't come back in the fetch. We need to clean up those sync records
|
||||||
// and continue processing.
|
// and stop processing.
|
||||||
if statusUpdates.isEmpty {
|
if statusUpdates.isEmpty {
|
||||||
self.database.deleteSelectedForProcessing(articleIDs) { _ in
|
self.database.deleteSelectedForProcessing(articleIDs) { _ in
|
||||||
done(false)
|
done(true)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user