Revert "*Change end to close"

This reverts commit 14d6888baf.
This commit is contained in:
Derrick Hammer 2022-08-31 20:38:28 -04:00
parent 3ebfe51a83
commit b5a81d51ab
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export class Socket extends EventEmitter {
callModule(DHT_MODULE, "write", { id: this.id, message });
}
close(): void {
end(): void {
callModule(DHT_MODULE, "socketExists", { id: this.id }).then(
([exists]: ErrTuple) => {
if (exists) {