From 7394e89ff6167cf371e17cb43ff8d5c2f10d539c Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 9 Oct 2012 16:32:49 +0200 Subject: [PATCH] tls: remove dead code Remove dead code. Forgotten in 76ddf06. --- lib/tls.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/tls.js b/lib/tls.js index 6390d7e6d3..7a37b24531 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -959,12 +959,6 @@ SecurePair.prototype.destroy = function() { if (!this._doneFlag) { this._doneFlag = true; - - if (this.ssl.timer) { - clearTimeout(this.ssl.timer); - this.ssl.timer = null; - } - this.ssl.error = null; this.ssl.close(); this.ssl = null;