It seems like a cleanup happens before the process completes ( https://github.com/meteor/meteor/blob/master/tools/cleanup.js ).
The first SIGINT signal sent, which is a polite way to ask the process to shut down (and give it time to complete the last thread)
With database integrity, the mongod process also tries to clean itself before it shuts down, and it has a recovery mechanism (from the log files) for quick recovery on restart if it is forced to shut down.
If I say that in the middle of a longer stream, Iām not sure whether he is allowed to finish or to kill him immediately. But the meteor is trying to give him the opportunity to first get a graceful ending, and then transfer it to SIGHUP , and then a SIGTERM (which is still a graceful completion signal). Under no circumstances is meteor shower or the sending of SIGKILL or SIGSTOP.
Thus, meteorite applications should be safe from the completion of Ctrl + C. With the completion of the monitor, it depends on what type of signal is sent (i.e. Force to exit or just exit)
source share