We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e727dc commit 6c132c3Copy full SHA for 6c132c3
Sources/XCTest/Public/Asynchronous/XCTWaiter.swift
@@ -10,7 +10,7 @@
10
// XCTWaiter.swift
11
//
12
13
-#if !os(Windows)
+#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
14
import CoreFoundation
15
#endif
16
@@ -369,10 +369,10 @@ private extension XCTWaiter {
369
370
func cancelPrimitiveWait() {
371
guard let runLoop = runLoop else { return }
372
-#if os(Windows)
373
- runLoop._stop()
374
-#else
375
CFRunLoopStop(runLoop.getCFRunLoop())
+#else
+ runLoop._stop()
376
377
}
378
0 commit comments