mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-11 09:12:00 -07:00
Clarify comment
Thanks @pmario
This commit is contained in:
parent
e553539b2a
commit
2916cb6fd9
1 changed files with 2 additions and 2 deletions
|
|
@ -25,8 +25,8 @@ var Command = function(params,commander,callback) {
|
|||
};
|
||||
|
||||
Command.prototype.execute = function() {
|
||||
// The Node.js docs are unequivocal that exiting in this way can be dangerous because pending I/O is cancelled.
|
||||
// It would be better to just stop the server listeners explicitly so that Node.js will exit the process naturally.
|
||||
// The Node.js docs are very clear that exiting in this way can be dangerous because pending I/O is cancelled.
|
||||
// TODO: stop the server listeners explicitly so that Node.js will exit the process naturally.
|
||||
process.exit();
|
||||
return null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue