* Remove the invocation of the _onclose callback function when the socket is closed.
This commit is contained in:
parent
1882752839
commit
39499397ea
|
@ -43,7 +43,6 @@ export default class Peer extends BasePeer {
|
|||
|
||||
protected async handleChannelOnClose(socket: Socket): Promise<void> {
|
||||
this._socket?.destroy();
|
||||
await this._onclose?.(this._socket);
|
||||
}
|
||||
|
||||
protected async initMessages(): Promise<void> {
|
||||
|
|
Loading…
Reference in New Issue