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:
07bcdc2
)
net_uv: emit 'close' event in Server.prototype.close()
author
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 21 Jul 2011 22:48:50 +0000
(
00:48
+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
3539b48
..
354b986
100644
(file)
--- a/
lib/net_uv.js
+++ b/
lib/net_uv.js
@@
-635,6
+635,7
@@
Server.prototype.close = function() {
this._handle.close();
this._handle = null;
}
+ this.emit('close');
};