fix: implement end
This commit is contained in:
parent
cdbd5bae9b
commit
d4d6e38eb1
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue