mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
Don't re-init fields w/ default values
This commit is contained in:
@@ -103,9 +103,6 @@ pub fn init(self: *Session, browser: *Browser, notification: *Notification) !voi
|
||||
errdefer arena_pool.release(arena);
|
||||
|
||||
self.* = .{
|
||||
._pages = .{ null, null },
|
||||
._active_idx = null,
|
||||
._pending_idx = null,
|
||||
.arena = arena,
|
||||
.arena_pool = arena_pool,
|
||||
.history = .{},
|
||||
|
||||
Reference in New Issue
Block a user