netsurf: expose documentHTMLClose func

This commit is contained in:
Pierre Tachoire
2023-10-04 18:20:12 +02:00
parent d4966bea3f
commit 46f01e5286
4 changed files with 9 additions and 2 deletions

View File

@@ -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();