diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp b/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp index fb01437707..44edb408d0 100644 --- a/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp +++ b/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp @@ -12,10 +12,8 @@ namespace Web::Bindings { JS::VM& main_thread_vm() { static RefPtr<JS::VM> vm; - if (!vm) { + if (!vm) vm = JS::VM::create(); - vm->set_should_log_exceptions(true); - } return *vm; } |