*Update dist

This commit is contained in:
Derrick Hammer 2023-02-16 01:02:20 -05:00
parent 47c93b1f1a
commit 3ce2313c5a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/peer.js vendored
View File

@ -53,7 +53,7 @@ class Peer {
self._socket.emit("data", m);
},
async onclose() {
self._socket?.end();
self._socket?.destroy();
await self._onclose?.(self._socket);
},
});