Closed timursevimli closed 5 months ago
It works well in 3.0.15 for me
Instead of using CTRL+C, try passing a SIGINT signal to process, for example using htop.
CTRL+C will work because it calls process.exit(0) without sending any signal to the process like SIGINT, SIGTERM or TERMINATE
Impress and Node.js versions
Impress v3.0.0.0 and node v20.13.1
Platform
Darwin (MacOS Sonoma)
Describe the bug
The process ignores signals such as SIGINT, TERMINATE, and SIGTERM. After receiving one of these signals, an error occurs, causing it to ignore all events, including CTRL+C. The only option left is to stop the process by using the KILL signal.
To Reproduce
Launch impress process and send any one of these signals like SIGINT, TERMINATE or SIGTERM. After an error occurs, try calling CTRL + C.
Note: To exit the impress process completely, send the KILL signal.
Expected behavior
Successfully graceful shutdown
Screenshots
When using SIGINT signal for process by name of "impress", an error occurs:
After an error occurs, CTRL + C launches the "graceful shutdown" mechanism, but even this does not help to exit the process:
Note: I call CTRL + C 4 times
Additional context
No response