projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59b0442
)
net_uv: release uv handle in Socket.prototype.destroy()
author
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 21 Jul 2011 22:47:28 +0000
(
00:47
+0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 21 Jul 2011 22:54:50 +0000
(
00:54
+0200)
lib/net_uv.js
patch
|
blob
|
history
diff --git
a/lib/net_uv.js
b/lib/net_uv.js
index
e979b44
..
3539b48
100644
(file)
--- a/
lib/net_uv.js
+++ b/
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() {