*Update dist
This commit is contained in:
parent
47c93b1f1a
commit
3ce2313c5a
|
@ -53,7 +53,7 @@ class Peer {
|
||||||
self._socket.emit("data", m);
|
self._socket.emit("data", m);
|
||||||
},
|
},
|
||||||
async onclose() {
|
async onclose() {
|
||||||
self._socket?.end();
|
self._socket?.destroy();
|
||||||
await self._onclose?.(self._socket);
|
await self._onclose?.(self._socket);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue