diff --git a/src/proxies/basic/peer.ts b/src/proxies/basic/peer.ts index 39df9f4..d16ab2e 100644 --- a/src/proxies/basic/peer.ts +++ b/src/proxies/basic/peer.ts @@ -43,7 +43,6 @@ export default class Peer extends BasePeer { protected async handleChannelOnClose(socket: Socket): Promise { this._socket?.destroy(); - await this._onclose?.(this._socket); } protected async initMessages(): Promise {