passepartout-apple/Passepartout/Mac/Menu
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
..
HostProfileItem+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
HostProfileItem.swift Make profile "Connect" item a connection toggle 2022-08-19 17:43:56 +02:00
LaunchOnLoginItem+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
LaunchOnLoginItem.swift Encapsulate launchesOnLogin AppPreference from Mac 2022-07-18 08:03:24 +02:00
PassepartoutMenu+StatusButton.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
PassepartoutMenu.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
ProfileItemGroup.swift Drop return in one-line functions 2022-09-04 20:30:55 +02:00
ProviderLocationItem+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
ProviderLocationItem.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
ProviderProfileItem+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
ProviderProfileItem.swift Add extended provider location description 2022-09-04 19:23:40 +02:00
ProviderServerItem+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
ProviderServerItem.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
VPNItemGroup+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
VPNItemGroup.swift Implement Mac bundle with system menu 2022-07-16 17:39:42 +02:00
VisibilityItem+ViewModel.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
VisibilityItem.swift Only hide app by closing it 2022-08-19 17:43:52 +02:00