Lightpanda: the headless browser designed for AI and automation
crash: increase HTMLCollection's RC from u8 to u32
Karl Seguind2cb58a7d1c9
diff --git a/src/browser/webapi/collections/HTMLCollection.zig b/src/browser/webapi/collections/HTMLCollection.zigindex c332b32cb..bbaca5fa9 100644--- a/src/browser/webapi/collections/HTMLCollection.zig+++ b/src/browser/webapi/collections/HTMLCollection.zig@@ -58,7 +58,7 @@ _data: union(Mode) {form: NodeLive(.form),empty: void,},-_rc: lp.RC(u8) = .{},+_rc: lp.RC(u32) = .{},pub fn deinit(self: *HTMLCollection, page: *Page) void {page.factory.destroy(self);