passepartout-apple/PassepartoutLibrary/Sources/PassepartoutUtils/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
..
FetchedValueHolder.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
GenericWebEndpoint.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
GenericWebParser.swift Drop return in one-line functions 2022-09-04 20:30:55 +02:00
GenericWebResponse.swift Drop return in one-line functions 2022-09-04 20:30:55 +02:00
GenericWebServices.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
InApp.swift Drop return in one-line functions 2022-09-04 20:30:55 +02:00
KeyValueStore.swift Remove store value when set value is nil 2022-07-05 08:04:58 +02:00
KeyedCache.swift Drop return in one-line functions 2022-09-04 20:30:55 +02:00
LogManager.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
Mapper.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
Persistence.swift Set persistent history tracking even for local containers 2022-09-03 12:47:40 +02:00
RateLimited.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
Repository.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
SSIDReader.swift Address UI race conditions (#229) 2022-10-13 08:53:50 +02:00
StrippableContent.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00
UserDefaultsStore.swift Remove store value when set value is nil 2022-07-05 08:04:58 +02:00
ValueHolder.swift Refactor library into domain + impl 2022-06-23 23:31:01 +02:00