From 95d866c69e999476ca3c3230dc44a19c7472bc7f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 15 Apr 2023 22:35:22 -0400 Subject: [PATCH] *Remove _socketOptions overrides --- src/proxies/multiSocket.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/proxies/multiSocket.ts b/src/proxies/multiSocket.ts index 50d0b2a..fc1e017 100644 --- a/src/proxies/multiSocket.ts +++ b/src/proxies/multiSocket.ts @@ -78,9 +78,6 @@ export default class MultiSocketProxy extends Proxy { constructor(options: MultiSocketProxyOptions) { super(options); - this._socketOptions.onchannel = this.handleNewPeerChannel.bind(this); - this._socketOptions.onclose = this.handleClosePeer.bind(this); - this._socketOptions.onopen = this.handlePeer.bind(this); if (options.socketClass) { this.socketClass = options.socketClass; } else {