Fix assertions_only usage in fromJSHostCallGeneric (#20733)

This commit is contained in:
190n
2025-07-01 23:36:56 -07:00
committed by GitHub
parent e1ec32caea
commit 48c5256196
14 changed files with 219 additions and 168 deletions

View File

@@ -473,7 +473,7 @@ pub const AsyncModule = struct {
var specifier = specifier_;
var referrer = referrer_;
var scope: JSC.CatchScope = undefined;
scope.init(globalThis, @src(), .enabled);
scope.init(globalThis, @src());
defer {
specifier.deref();
referrer.deref();