fix deferred calls bug

This commit is contained in:
Dmitry Vasilev
2023-06-16 07:47:27 +03:00
parent 2631c09bdb
commit 3281bbdee9
2 changed files with 20 additions and 1 deletions

View File

@@ -185,7 +185,9 @@ export const do_eval_expand_calltree_node = (cxt, node) => {
// do nothing. Exception was caught and recorded inside '__trace'
}
cxt.is_recording_deferred_calls = true
return do_expand_calltree_node(cxt, node)
const result = do_expand_calltree_node(cxt, node)
cxt.children = null
return result
}