net_uv: emit 'close' event in Server.prototype.close()

v0.7.4-release
Ben Noordhuis 2011-07-22 00:48:50 +02:00
parent 07bcdc2f51
commit 8ddb334c2a
1 changed files with 1 additions and 0 deletions

View File

@ -635,6 +635,7 @@ Server.prototype.close = function() {
this._handle.close();
this._handle = null;
}
this.emit('close');
};