Fix the flakey preview tests. (#4329)

* Try fix the flakey preview tests with a low priority task…

* Try RunLoop.current.perform

* Revert #4321: Use a dispatch queue again. Also fixes the concurrency warning with a Mutex.

The Mutex package is only required for iOS 17, we can remove it when we set the minimum deployment target to iOS 18.
This commit is contained in:
Doug
2025-07-17 12:45:33 +01:00
committed by GitHub
parent ca9d84d1d2
commit 247c7a4617
7 changed files with 100 additions and 25 deletions
+1
View File
@@ -235,6 +235,7 @@ targets:
- package: LoremSwiftum
- package: LRUCache
- package: Mapbox
- package: Mutex
- package: PostHog
- package: SwiftState
- package: GZIP