fix: implement end

This commit is contained in:
Derrick Hammer 2023-09-02 12:58:42 -04:00
parent cdbd5bae9b
commit d4d6e38eb1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 0 deletions

View File

@ -85,4 +85,9 @@ export default class HyperTransportPeer extends BasePeer {
sendMessage(message: Uint8Array): void { sendMessage(message: Uint8Array): void {
this._pipe.send(message); this._pipe.send(message);
} }
end(): void {
this._pipe.end();
this._socket.end();
}
} }