tls: remove dead code

Remove dead code. Forgotten in 76ddf06.
pull/24504/head
Ben Noordhuis 2012-10-09 16:32:49 +02:00
parent c668185add
commit 7394e89ff6
1 changed files with 0 additions and 6 deletions

View File

@ -959,12 +959,6 @@ SecurePair.prototype.destroy = function() {
if (!this._doneFlag) { if (!this._doneFlag) {
this._doneFlag = true; this._doneFlag = true;
if (this.ssl.timer) {
clearTimeout(this.ssl.timer);
this.ssl.timer = null;
}
this.ssl.error = null; this.ssl.error = null;
this.ssl.close(); this.ssl.close();
this.ssl = null; this.ssl = null;