fix unwrap causing panic (#5886)

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-03-19 10:19:19 -07:00
committed by GitHub
parent ddcff1ba63
commit 270f173aad
3 changed files with 22 additions and 8 deletions

View File

@ -831,8 +831,7 @@ impl ExecutorContext {
.await?;
let (module_memory, _) = self
.exec_module_for_items(id, exec_state, ExecutionKind::Isolated, source_range)
.await
.unwrap();
.await?;
exec_state.mut_stack().memory.set_std(module_memory);
}