mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 08:48:58 +00:00
netsurf: expose documentHTMLClose func
This commit is contained in:
@@ -33,7 +33,7 @@ pub fn main() !void {
|
||||
|
||||
// document
|
||||
doc = parser.documentHTMLParse("test.html");
|
||||
// TODO: defer doc?
|
||||
defer parser.documentHTMLClose(doc);
|
||||
|
||||
// create JS vm
|
||||
const vm = jsruntime.VM.init();
|
||||
|
||||
Reference in New Issue
Block a user