Clear article extractor when article selection changes

This commit is contained in:
Maurice Parker 2019-09-24 11:32:54 -05:00
parent 2c095e6dfe
commit eb69967899
1 changed files with 5 additions and 0 deletions

View File

@ -556,6 +556,11 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
func selectArticle(_ article: Article?, automated: Bool = true) {
guard article != currentArticle else { return }
articleExtractor?.cancel()
articleExtractor = nil
isShowingExtractedArticle = false
// makeToolbarValidate()
currentArticle = article
activityManager.reading(currentArticle)