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:
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');
};