mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
fix memory leak
This commit is contained in:
@@ -244,7 +244,7 @@ fn navigate(cmd: anytype) !void {
|
||||
|
||||
// Launch navigate, the page must have been created by a
|
||||
// target.createTarget.
|
||||
var p = cmd.session.page orelse return error.NoPage;
|
||||
var p = cmd.session.currentPage() orelse return error.NoPage;
|
||||
state.execution_context_id += 1;
|
||||
|
||||
const aux_data = try std.fmt.allocPrint(
|
||||
|
||||
Reference in New Issue
Block a user