mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
Update src/browser/ScriptManager.zig
Co-authored-by: Pierre Tachoire <pierre@lightpanda.io>
This commit is contained in:
@@ -103,7 +103,7 @@ pub fn init(browser: *Browser, page: *Page) ScriptManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn deinit(self: *ScriptManager) void {
|
pub fn deinit(self: *ScriptManager) void {
|
||||||
// necesasry to free any buffers scripts may be rerferencing
|
// necessary to free any buffers scripts may be referencing
|
||||||
self.reset();
|
self.reset();
|
||||||
|
|
||||||
self.buffer_pool.deinit();
|
self.buffer_pool.deinit();
|
||||||
|
|||||||
Reference in New Issue
Block a user