mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
Reset _arena_pool_leak_track after the page.arena is reset
This commit is contained in:
@@ -333,6 +333,10 @@ fn reset(self: *Page, comptime initializing: bool) !void {
|
||||
self._customized_builtin_disconnected_callback_invoked = .{};
|
||||
self._undefined_custom_elements = .{};
|
||||
|
||||
if (comptime IS_DEBUG) {
|
||||
self._arena_pool_leak_track = .{};
|
||||
}
|
||||
|
||||
try self.registerBackgroundTasks();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user