guard againt simultaneous execution

This commit is contained in:
Dmitry Vasilev
2023-01-03 01:27:43 +08:00
parent e577301215
commit de072d5ba5
5 changed files with 15 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ const loaded = i
assert_equal(loaded.eval_modules_state != null, true)
const s = loaded.eval_modules_state
const result = await s.promise
const state = COMMANDS.eval_modules_finished(loaded , result, s.node, s.toplevel)
const state = COMMANDS.eval_modules_finished(loaded, loaded, result, s.node, s.toplevel)
const root = root_calltree_node(state)
const run = root.children[0]