mirror of https://github.com/nodejs/node.git
parent
c668185add
commit
7394e89ff6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue