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.
1 parent 58cc5b4 commit 6ebae5fCopy full SHA for 6ebae5f
src/browser/ScriptManager.zig
@@ -124,7 +124,7 @@ pub fn reset(self: *ScriptManager) void {
124
self.sync_modules.clearRetainingCapacity();
125
// Our allocator is the page arena, it's been reset. We cannot use
126
// clearAndRetainCapacity, since that space is no longer ours
127
- self.importmap.clearAndFree(self.page.arena);
+ self.importmap = .empty
128
129
self.clearList(&self.asyncs);
130
self.clearList(&self.scripts);
0 commit comments