tls: remove dead code
Remove dead code. Forgotten in 76ddf06.
This commit is contained in:
parent
c668185add
commit
7394e89ff6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user