passepartout-apple/Passepartout/Mac/Reusable
Davide De Rosa 5627e6c4a9
Address UI race conditions (#229)
* Make some managers concurrency-safe

- IntentsManager: @MainActor, non-shared, continuation

- SSIDReader: @MainActor, continuation

- Reviewer: main queue, non-shared

* Review wrong use of Concurrency framework

There were background thread calls e.g. in VPNToggle, because
ProfileManager was used inside a VPNManager async call.

Annotate @MainActor wherever a Task involves UI.

* Make main managers MainActor

* Apply MainActor to Mac menus

* [ci skip] Update CHANGELOG

* Set MainActor consistently on Mac menu view models
2022-10-13 08:53:50 +02:00
..
Item.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
ItemGroup.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
ObservableProcessTransformer.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
ProcessTransformer.h Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
ProcessTransformer.m Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
SeparatorItem.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
StaticSystemMenu.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
SystemMenu.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
TextItem+ViewModel.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
TextItem.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00