This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Process doesn't exit on SIGTERM | SIGINT
#95
Labels
SIGTERM | SIGINT
#95
Hey,
I noticed that if I send a signal to the process it doesn't get finalized, even though the server gets stopped. It turns our that this behavior happens due to
magnet.stop()
not stopping the execution of the process after stopping the server:I'd say the fix would be to add a
process.exit(0)
aftermagnet.stop()
.Is there anything I'm missing?
Thx!
The text was updated successfully, but these errors were encountered: