Add check for WASI to TestViewProxy
This commit is contained in:
parent
59c4cf9b53
commit
5c6a380c48
|
@ -83,7 +83,7 @@ extension FiberReconciler where Renderer == TestFiberRenderer {
|
|||
|
||||
/// Wait for the scheduled action to complete.
|
||||
func turnRunLoop() {
|
||||
#if canImport(Dispatch)
|
||||
#if canImport(Dispatch) && !os(WASI)
|
||||
renderer.workItem.workItem?.wait()
|
||||
renderer.workItem.workItem = nil
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue