mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
use catch scope
This commit is contained in:
@@ -3193,7 +3193,7 @@ void GlobalObject::finishCreation(VM& vm)
|
||||
[](const JSC::LazyProperty<JSC::JSGlobalObject, JSC::JSMap>::Initializer& init) {
|
||||
auto* global = init.owner;
|
||||
auto& vm = init.vm;
|
||||
auto scope = DECLARE_THROW_SCOPE(vm);
|
||||
auto scope = DECLARE_CATCH_SCOPE(vm);
|
||||
|
||||
// if we get the termination exception, we'd still like to set a non-null Map so that
|
||||
// we don't segfault
|
||||
|
||||
Reference in New Issue
Block a user