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;