deno
ecb30831 - qjs_v8_compat: also skip lazy_load_esm_module re-evaluate when EVAL_IN_FLIGHT is set

Commit
70 days ago
qjs_v8_compat: also skip lazy_load_esm_module re-evaluate when EVAL_IN_FLIGHT is set If our Module::evaluate is currently running (eval_in_flight contains the handle), don't trigger a redundant re-evaluate from lazy_load_esm_module either. Combined with esm_bytecode_consumed, this covers both the post-eval and currently-in-our-evaluate windows; the remaining gap is when QuickJS evaluates a module transitively inside its own JS_EvalFunction (we don't get notified).
Author
Parents
Loading