Remove callback that shouldn't have been added.

This commit is contained in:
Maurice Parker 2019-11-21 19:08:40 -06:00
parent e8826130a4
commit adbb5b6392
1 changed files with 0 additions and 1 deletions

View File

@ -1483,7 +1483,6 @@ private extension SceneCoordinator {
let fetchOperation = FetchRequestOperation(id: fetchSerialNumber, representedObjects: representedObjects) { [weak self] (articles, operation) in let fetchOperation = FetchRequestOperation(id: fetchSerialNumber, representedObjects: representedObjects) { [weak self] (articles, operation) in
precondition(Thread.isMainThread) precondition(Thread.isMainThread)
guard !operation.isCanceled, let strongSelf = self, operation.id == strongSelf.fetchSerialNumber else { guard !operation.isCanceled, let strongSelf = self, operation.id == strongSelf.fetchSerialNumber else {
callback(Set<Article>())
return return
} }
callback(articles) callback(articles)