moved dispatch group notify to background thread as it was deadlocked with the dispatch group wait on app exit

This commit is contained in:
Maurice Parker 2019-06-12 17:28:54 -05:00
parent e4ee311227
commit 871dbbb752
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public final class AccountManager: UnreadCountProvider {
}
}
group.notify(queue: DispatchQueue.main) {
group.notify(queue: DispatchQueue.global(qos: .background)) {
completion?()
}
}