mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Update to latest RSWeb so that refreshAll completion handler no longer gets called early
This commit is contained in:
parent
78511ff47c
commit
a75ce688d9
@ -61,7 +61,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
|
||||
return request as URLRequest
|
||||
}
|
||||
|
||||
func downloadSession(_ downloadSession: DownloadSession, downloadDidCompleteForRepresentedObject representedObject: AnyObject, response: URLResponse?, data: Data, error: NSError?) {
|
||||
func downloadSession(_ downloadSession: DownloadSession, downloadDidCompleteForRepresentedObject representedObject: AnyObject, response: URLResponse?, data: Data, error: NSError?, completion: @escaping () -> Void) {
|
||||
guard let feed = representedObject as? WebFeed, !data.isEmpty, !isSuspended else {
|
||||
return
|
||||
}
|
||||
@ -87,6 +87,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
|
||||
}
|
||||
|
||||
feed.contentHash = dataHash
|
||||
completion()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 0631696e7383368664a1fe47c58ebcd0ee2d49f8
|
||||
Subproject commit b2dd50f1ff2a64c09a543d00bc35c8a66c1fc2b6
|
Loading…
Reference in New Issue
Block a user