Skip to content

Commit 12b5815

Browse files
Update crates/core/src/context/executor.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
1 parent e8b8aa0 commit 12b5815

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

crates/core/src/context/executor.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -538,11 +538,13 @@ impl<'a> Executor<'a> {
538538
Argument::Thunk(id) => {
539539
tracer.mark_thunk(parent_frame, i, true, true);
540540
let (child_sig, child_root) = self.execute_call(*id, ctx, tracer);
541-
tracer.link_child(
542-
parent_frame,
543-
child_root,
544-
EdgeKind::EagerCall { arg_index: i },
545-
);
541+
if child_root != 0 {
542+
tracer.link_child(
543+
parent_frame,
544+
child_root,
545+
EdgeKind::EagerCall { arg_index: i },
546+
);
547+
}
546548

547549
match child_sig {
548550
Signal::Success(v) => {

0 commit comments

Comments
 (0)