mirror of
https://github.com/zebrajr/ladybird.git
synced 2026-01-15 12:15:15 +00:00
LibJS+LibWeb: Do not return error from VM::create
This never returns an error to propogate, also allowing ErrorOr to be removed from creating the main thread VM.
This commit is contained in:
committed by
Andreas Kling
parent
084cceab5c
commit
8263a9863f
@@ -183,7 +183,7 @@ int main(int argc, char** argv)
|
||||
g_main_hook();
|
||||
|
||||
if (!g_vm) {
|
||||
g_vm = MUST(JS::VM::create());
|
||||
g_vm = JS::VM::create();
|
||||
g_vm->set_dynamic_imports_allowed(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user