Skip to content

Commit

Permalink
net_uv: emit 'close' event in Server.prototype.close()
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Jul 21, 2011
1 parent 07bcdc2 commit 8ddb334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/net_uv.js
Expand Up @@ -635,6 +635,7 @@ Server.prototype.close = function() {
this._handle.close();
this._handle = null;
}
this.emit('close');
};


Expand Down

0 comments on commit 8ddb334

Please sign in to comment.