From cb7c648400659cdc3bad4f575162cbaab28b7d8d Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Thu, 23 Oct 2025 14:00:29 -0400 Subject: [PATCH] fix: adding missing `dry_resolve()` call on `Suspend` (closes #4402) (#4404) --- tachys/src/reactive_graph/suspense.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tachys/src/reactive_graph/suspense.rs b/tachys/src/reactive_graph/suspense.rs index 6a3750b94..ccabd2b95 100644 --- a/tachys/src/reactive_graph/suspense.rs +++ b/tachys/src/reactive_graph/suspense.rs @@ -468,7 +468,8 @@ where // // in this case, though, we can simply... discover that the data are already here, and then // stuff them back into a new Future, which can safely be polled after its completion - if let Some(inner) = self.inner.as_mut().now_or_never() { + if let Some(mut inner) = self.inner.as_mut().now_or_never() { + inner.dry_resolve(); self.inner = Box::pin(async move { inner }) as Pin + Send>>; }