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
@@ -194,6 +194,14 @@
<key>Type</key>
<string>PSChildPaneSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/swift-mutex</string>
<key>Title</key>
<string>swift-mutex</string>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/swift-numerics</string>