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
1 changed files with 1 additions and 1 deletions

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");