diff --git a/packages/core/tests/miri_stress.rs b/packages/core/tests/miri_stress.rs index 2d9760e5d..160baa25d 100644 --- a/packages/core/tests/miri_stress.rs +++ b/packages/core/tests/miri_stress.rs @@ -12,9 +12,7 @@ fn test_memory_leak() { fn app(cx: Scope) -> Element { let val = cx.generation(); - cx.spawn(async { - tokio::time::sleep(std::time::Duration::from_millis(100000)).await; - }); + cx.spawn(async {}); if val == 2 || val == 4 { return cx.render(rsx!(()));