We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f9b256 + e18c589 commit 0a27e12Copy full SHA for 0a27e12
src/runtime/js.zig
@@ -728,7 +728,9 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
728
if (try m.instantiate(v8_context, resolveModuleCallback) == false) {
729
return error.ModuleInstantiationError;
730
}
731
-
+ const arena = self.context_arena;
732
+ const owned_url = try arena.dupe(u8, url);
733
+ try self.module_identifier.putNoClobber(arena, m.getIdentityHash(), owned_url);
734
_ = try m.evaluate(v8_context);
735
736
0 commit comments