aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-06-09 05:40:44 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-06-09 05:40:44 -0700
commit0eb51036421c6f31e7c456f971340fea1f070560 (patch)
tree9ef579c9e5792d9777a0d931cdf8f287001c9399 /src
parentedd03341b1800b41cce936130558e78f614f3fa7 (diff)
downloadbun-0eb51036421c6f31e7c456f971340fea1f070560.tar.gz
bun-0eb51036421c6f31e7c456f971340fea1f070560.tar.zst
bun-0eb51036421c6f31e7c456f971340fea1f070560.zip
Fix missing JSC.markBinding
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/api/server.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/api/server.zig b/src/bun.js/api/server.zig
index 30889964d..acd870c08 100644
--- a/src/bun.js/api/server.zig
+++ b/src/bun.js/api/server.zig
@@ -5254,6 +5254,7 @@ pub fn NewServer(comptime ssl_enabled_: bool, comptime debug_mode_: bool) type {
if (comptime debug_mode) {
this.app.get("/bun:info", *ThisServer, this, onBunInfoRequest);
if (this.config.inspector) {
+ JSC.markBinding(@src());
Bun__addInspector(ssl_enabled, this.app, this.globalThis);
}