*Remove _socketOptions overrides
This commit is contained in:
parent
5fa5385249
commit
95d866c69e
|
@ -78,9 +78,6 @@ export default class MultiSocketProxy extends Proxy {
|
||||||
|
|
||||||
constructor(options: MultiSocketProxyOptions) {
|
constructor(options: MultiSocketProxyOptions) {
|
||||||
super(options);
|
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) {
|
if (options.socketClass) {
|
||||||
this.socketClass = options.socketClass;
|
this.socketClass = options.socketClass;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue