mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
reduce lifetime of transfer_arena
This commit is contained in:
@@ -126,7 +126,7 @@ pub const Session = struct {
|
||||
// it isn't null!
|
||||
std.debug.assert(self.page != null);
|
||||
|
||||
_ = self.browser.transfer_arena.reset(.{ .retain_with_limit = 1 * 1024 * 1024 });
|
||||
defer _ = self.browser.transfer_arena.reset(.{ .retain_with_limit = 1 * 1024 * 1024 });
|
||||
|
||||
// it's safe to use the transfer arena here, because the page will
|
||||
// eventually clone the URL using its own page_arena (after it gets
|
||||
|
||||
Reference in New Issue
Block a user