Add check for WASI to TestViewProxy

This commit is contained in:
Carson Katri 2022-06-30 08:47:31 -04:00
parent 59c4cf9b53
commit 5c6a380c48
1 changed files with 1 additions and 1 deletions

View File

@ -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