mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
chore: upgrade webkit (#7720)
* update * alwaysInline * update webkit commit * update webkit tag * remove webkit_url * check for exception and update webkit commit * update webkit tag
This commit is contained in:
@@ -74,11 +74,10 @@ static JSC::SyntheticSourceProvider::SyntheticSourceGenerator generateInternalMo
|
||||
GlobalObject* globalObject = jsCast<GlobalObject*>(lexicalGlobalObject);
|
||||
auto throwScope = DECLARE_THROW_SCOPE(vm);
|
||||
|
||||
auto* object = jsCast<JSObject*>(globalObject->internalModuleRegistry()->requireId(globalObject, vm, moduleId));
|
||||
if (!object) {
|
||||
return;
|
||||
}
|
||||
JSValue requireResult = globalObject->internalModuleRegistry()->requireId(globalObject, vm, moduleId);
|
||||
RETURN_IF_EXCEPTION(throwScope, void());
|
||||
auto* object = requireResult.getObject();
|
||||
ASSERT(object);
|
||||
|
||||
JSC::EnsureStillAliveScope stillAlive(object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user