Browse Source

net_uv: release uv handle in Socket.prototype.destroy()

v0.7.4-release
Ben Noordhuis 14 years ago
parent
commit
07bcdc2f51
  1. 1
      lib/net_uv.js

1
lib/net_uv.js

@ -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…
Cancel
Save