Make sure that FeedFinder and InitialDownloader are running on the main thread.

This commit is contained in:
Maurice Parker
2019-06-10 08:21:03 -05:00
parent e42520cd9b
commit 93fbbd4cc3
2 changed files with 34 additions and 43 deletions

View File

@@ -62,7 +62,10 @@ class AddFeedController: AddFeedWindowControllerDelegate {
account.createFeed(url: url.absoluteString, name: title, container: container) { result in
self.endShowingProgress()
DispatchQueue.main.async {
self.endShowingProgress()
}
BatchUpdate.shared.end()
switch result {