Skip to content

Commit

Permalink
RELEASE_AND_RETURN
Browse files Browse the repository at this point in the history
  • Loading branch information
pfgithub committed Dec 14, 2024
1 parent 1ead004 commit 67f16ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/JavaScriptCore/runtime/JSModuleLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,7 @@ JSC_DEFINE_HOST_FUNCTION(moduleLoaderParseModule, (JSGlobalObject* globalObject,
}
#if USE(BUN_JSC_ADDITIONS)
case SourceProviderSourceType::BunTranspiledModule: {
EncodedJSValue result = Bun__analyzeTranspiledModule(globalObject, moduleKey, sourceCode, promise);
scope.release();
return result;
RELEASE_AND_RETURN(scope, Bun__analyzeTranspiledModule(globalObject, moduleKey, sourceCode, promise));
}
#endif
default: {
Expand Down

0 comments on commit 67f16ad

Please sign in to comment.