only close TLS socket once

This commit is contained in:
ProgrammerIn-wonderland
2025-02-06 17:11:51 -05:00
committed by Eric Dubé
parent 26666fe666
commit 12806a2395
+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) {