mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Call completion when there is nothing to download.
This commit is contained in:
1 parent
3036d87915
commit
3ffd90ff2b
1 file changed
+6
@@ -124,6 +124,12 @@ struct HTTP4xxResponse {
|
||||
cleanUp4xxResponsesCache()
|
||||
|
||||
let filteredURLs = Self.filteredURLs(urls)
|
||||
|
||||
if filteredURLs.isEmpty {
|
||||
delegate.downloadSessionDidComplete(self)
|
||||
return
|
||||
}
|
||||
|
||||
for url in filteredURLs {
|
||||
addDataTask(url)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user