Skip to content

Commit ebd1b38

Browse files
committed
Fix: host func return rr placement for call_host_dynamic
1 parent cb8e0fc commit ebd1b38

File tree

1 file changed

+2
-2
lines changed
  • crates/wasmtime/src/runtime/component/func

1 file changed

+2
-2
lines changed

crates/wasmtime/src/runtime/component/func/host.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,9 @@ where
943943
*ty,
944944
offset,
945945
)?;
946-
// Recording here is just for marking the return event
947-
rr_hooks::component_hooks::record_host_func_return(&[], cx.store.0)?;
948946
}
947+
// Recording here is just for marking the return event
948+
rr_hooks::component_hooks::record_host_func_return(&[], cx.store.0)?;
949949
}
950950

951951
unsafe {

0 commit comments

Comments
 (0)