Skip to content

Commit 8fb8f2c

Browse files
committed
Try to speed-up exit
1 parent 370c4ad commit 8fb8f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function quitProcess () {
1717
doneQuit = true;
1818
console.log("Exiting from main.js!\n");
1919
TheMatron.emit("quit");
20-
setTimeout(function() {process.exit(0)}, 3000);
20+
setTimeout(function() {console.log("Bye"); process.exit(0)}, 3000);
2121
};
2222

2323
process.on("SIGTERM", quitProcess);

0 commit comments

Comments
 (0)