mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
Adapt to js_env.start change
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -175,7 +175,7 @@ fn runWPT(arena: *std.heap.ArenaAllocator, comptime apis: []jsruntime.API, f: []
|
||||
try js_env.load(apis, &tpls);
|
||||
|
||||
// start JS env
|
||||
js_env.start(apis);
|
||||
try js_env.start(alloc, apis);
|
||||
defer js_env.stop();
|
||||
|
||||
// add document object
|
||||
|
||||
Reference in New Issue
Block a user