Clear article extractor when article selection changes
This commit is contained in:
parent
2c095e6dfe
commit
eb69967899
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue