diff options
| -rw-r--r-- | src/bun.js/api/JSBundler.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bun.js/api/JSBundler.zig b/src/bun.js/api/JSBundler.zig index 7db9702a7..67e3f5295 100644 --- a/src/bun.js/api/JSBundler.zig +++ b/src/bun.js/api/JSBundler.zig @@ -678,6 +678,7 @@ pub const JSBundler = struct { source_code_value: JSValue, loader_as_int: JSValue, ) void { + JSC.markBinding(@src()); var completion = this.completion orelse { this.deinit(); return; @@ -719,6 +720,7 @@ pub const JSBundler = struct { pub const Plugin = opaque { extern fn JSBundlerPlugin__create(*JSC.JSGlobalObject, JSC.JSGlobalObject.BunPluginTarget) *Plugin; pub fn create(globalObject: *JSC.JSGlobalObject, target: JSC.JSGlobalObject.BunPluginTarget) *Plugin { + JSC.markBinding(@src()); var plugin = JSBundlerPlugin__create(globalObject, target); JSC.JSValue.fromCell(plugin).protect(); return plugin; @@ -757,6 +759,7 @@ pub const JSBundler = struct { path: *const Fs.Path, is_onLoad: bool, ) bool { + JSC.markBinding(@src()); const namespace_string = if (path.isFile()) ZigString.Empty else |
