only close TLS socket once

This commit is contained in:
ProgrammerIn-wonderland authored and Eric Dubé committed 2025-02-06 17:13:04 -05:00
1 parent 26666fe666
commit 12806a2395
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ export class PTLSSocket extends PSocket {
} catch (e) {
this.emit("error", e)
}
this.emit("close", undefined);
// this.emit("close", undefined);
})();
}
on(event, callback) {