mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
Adapt to js_env.start change
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -16,7 +16,7 @@ fn execJS(
|
||||
) !void {
|
||||
|
||||
// start JS env
|
||||
js_env.start(apis);
|
||||
try js_env.start(alloc, apis);
|
||||
defer js_env.stop();
|
||||
|
||||
// alias global as self and window
|
||||
|
||||
Reference in New Issue
Block a user