moved dispatch group notify to background thread as it was deadlocked with the dispatch group wait on app exit
This commit is contained in:
parent
e4ee311227
commit
871dbbb752
@ -172,7 +172,7 @@ public final class AccountManager: UnreadCountProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
group.notify(queue: DispatchQueue.main) {
|
group.notify(queue: DispatchQueue.global(qos: .background)) {
|
||||||
completion?()
|
completion?()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user