Skip to content

module: fix cyclical dynamic import

ensures that instantiation result is only used during initial loading. current loading mechanism would use the empty promise sentinel if the import() fired in a cyclic manner.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

module

Merge request reports

Loading