Update to latest RSWeb so that refreshAll completion handler no longer gets called early

This commit is contained in:
Maurice Parker 2019-12-07 16:26:38 -07:00
parent 78511ff47c
commit a75ce688d9
2 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
return request as URLRequest 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 { guard let feed = representedObject as? WebFeed, !data.isEmpty, !isSuspended else {
return return
} }
@ -87,6 +87,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
} }
feed.contentHash = dataHash feed.contentHash = dataHash
completion()
} }
} }
} }

@ -1 +1 @@
Subproject commit 0631696e7383368664a1fe47c58ebcd0ee2d49f8 Subproject commit b2dd50f1ff2a64c09a543d00bc35c8a66c1fc2b6