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), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
module