mirror of https://github.com/nodejs/node.git
net_uv: emit 'close' event in Server.prototype.close()
parent
07bcdc2f51
commit
8ddb334c2a
|
@ -635,6 +635,7 @@ Server.prototype.close = function() {
|
|||
this._handle.close();
|
||||
this._handle = null;
|
||||
}
|
||||
this.emit('close');
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue