Remove unnecessary cleanup when we know we have an arena

Change a few old alloc+memcpy to dupe

Some other smaller cleanups.
This commit is contained in:
Karl Seguin
2025-04-19 14:30:50 +08:00
parent e603a1707c
commit 2d1b9d64bd
5 changed files with 67 additions and 153 deletions

View File

@@ -158,7 +158,6 @@ fn navigate(cmd: anytype) !void {
.loaderId = bc.loader_id,
}, .{});
std.debug.print("page: {s}\n", .{target_id});
try page.navigate(url, .{
.reason = .address_bar,
});