Compare commits
2 Commits
035be11686
...
3ce2313c5a
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 3ce2313c5a | |
Derrick Hammer | 47c93b1f1a |
|
@ -53,7 +53,7 @@ class Peer {
|
|||
self._socket.emit("data", m);
|
||||
},
|
||||
async onclose() {
|
||||
self._socket?.end();
|
||||
self._socket?.destroy();
|
||||
await self._onclose?.(self._socket);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -90,7 +90,7 @@ export default class Peer {
|
|||
self._socket.emit("data", m);
|
||||
},
|
||||
async onclose() {
|
||||
self._socket?.end();
|
||||
self._socket?.destroy();
|
||||
await self._onclose?.(self._socket);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue