diff --git a/src/bun.js/api/bun/socket.zig b/src/bun.js/api/bun/socket.zig index 3f566ed57b2c11..f4edbba71decfa 100644 --- a/src/bun.js/api/bun/socket.zig +++ b/src/bun.js/api/bun/socket.zig @@ -129,7 +129,7 @@ const Handlers = struct { } pub fn markInactive(this: *Handlers, ssl: bool, ctx: *uws.SocketContext, wrapped: WrappedType) void { - Listener.log("markInactive {} {}", .{ wrapped, this.active_connections }); + Listener.log("markInactive", .{}); this.active_connections -= 1; if (this.active_connections == 0) { if (this.is_server) { @@ -1106,10 +1106,7 @@ fn NewSocket(comptime ssl: bool) type { this.handlers.markInactive(ssl, this.socket.context(), this.wrapped); this.poll_ref.unref(vm); this.has_pending_activity.store(false, .Release); - log("markInactive ok! {}", .{this.wrapped}); - return; } - log("markInactive not yet {}", .{this.wrapped}); } pub fn onOpen(this: *This, socket: Socket) void { diff --git a/src/js/node/net.js b/src/js/node/net.js index fce206b0cc9009..ece867c250ad56 100644 --- a/src/js/node/net.js +++ b/src/js/node/net.js @@ -605,10 +605,6 @@ const Socket = (function (InternalSocket) { this.#writeChunk = chunk; } } - - prependoncelistener(){ - console.log("hey!", arguments); - } }, );