tweak comment

This commit is contained in:
Starbeamrainbowlabs 2022-01-09 17:47:19 +00:00
parent a9a7320a1e
commit 61b830121e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -134,7 +134,7 @@ class Peer extends EventEmitter {
* @return {Promise} A Promise that resolves once the connection is closed.
*/
async destroy() {
// TODO: If this takes too long, we should just ignore it and move on
// TODO: If sending an end message takes too long, we should just ignore it and move on
await this.send("end", "goodbye");
await this.connection.destroy();
this.emit("destroy");