Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-07-22 02:48:50 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-07-22 02:54:50 +0400
commit8ddb334c2aaf0f389779d4d8d5d5b8754bf8c74d (patch)
tree071705e0fdea58995e333abea83b1ffa14a33c37 /lib
parent07bcdc2f5135c77baf37d4d037f88e8f7b06af5f (diff)
net_uv: emit 'close' event in Server.prototype.close()
Diffstat (limited to 'lib')
-rw-r--r--lib/net_uv.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net_uv.js b/lib/net_uv.js
index 3539b4865c5..354b9860458 100644
--- 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');
};