diff options
author | 2023-07-05 12:45:20 -0700 | |
---|---|---|
committer | 2023-07-05 12:45:20 -0700 | |
commit | f61d9ef4761444d0550aea90b2656727d41ce1fa (patch) | |
tree | 0738200d54b94a626ca257c40978a020f3eef786 /src | |
parent | 3aaec120e7ac26b3904895d2783a08352b63201a (diff) | |
download | bun-f61d9ef4761444d0550aea90b2656727d41ce1fa.tar.gz bun-f61d9ef4761444d0550aea90b2656727d41ce1fa.tar.zst bun-f61d9ef4761444d0550aea90b2656727d41ce1fa.zip |
Update websocket_http_client.zig
Diffstat (limited to 'src')
-rw-r--r-- | src/http/websocket_http_client.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/websocket_http_client.zig b/src/http/websocket_http_client.zig index a3ae8c3ba..f495af3b7 100644 --- a/src/http/websocket_http_client.zig +++ b/src/http/websocket_http_client.zig @@ -148,10 +148,12 @@ const CppWebSocket = opaque { extern fn WebSocket__incrementPendingActivity(websocket_context: *CppWebSocket) void; extern fn WebSocket__decrementPendingActivity(websocket_context: *CppWebSocket) void; pub fn ref(this: *CppWebSocket) void { + JSC.markBinding(@src()); WebSocket__incrementPendingActivity(this); } pub fn unref(this: *CppWebSocket) void { + JSC.markBinding(@src()); WebSocket__decrementPendingActivity(this); } }; |