diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-22 02:48:50 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-22 02:54:50 +0400 |
commit | 8ddb334c2aaf0f389779d4d8d5d5b8754bf8c74d (patch) | |
tree | 071705e0fdea58995e333abea83b1ffa14a33c37 /lib | |
parent | 07bcdc2f5135c77baf37d4d037f88e8f7b06af5f (diff) |
net_uv: emit 'close' event in Server.prototype.close()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net_uv.js | 1 |
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'); }; |