mirror of https://github.com/nodejs/node.git
net_uv: release uv handle in Socket.prototype.destroy()
parent
59b04427d3
commit
07bcdc2f51
|
@ -219,6 +219,7 @@ Socket.prototype.destroy = function(exception) {
|
|||
debug('close ' + this.fd);
|
||||
if (this._handle) {
|
||||
this._handle.close();
|
||||
this._handle = null;
|
||||
}
|
||||
|
||||
process.nextTick(function() {
|
||||
|
|
Loading…
Reference in New Issue