mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Make sure install updates happen on main queue
This commit is contained in:
parent
ed023218b8
commit
26da7969a1
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ class AppState: ObservableObject {
|
|||
.flatMap { [unowned self] in
|
||||
self.install(.version(availableXcode), downloader: .aria2)
|
||||
}
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink(
|
||||
receiveCompletion: { [unowned self] completion in
|
||||
self.installationPublishers[id] = nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue