Closed nkaretnikov closed 9 months ago
Name | Link |
---|---|
Latest commit | 0237f94a18eb9b180b965aa127f289e4bea2e505 |
Latest deploy log | https://app.netlify.com/sites/kaleidoscopic-dango-0cf31d/deploys/6596fe8bd78e4a0008c494a4 |
@nkaretnikov there is a merge conflict - can you fix this and we can merge right away
Fixes #707.
Description
This pull request: installs a signal handler that terminates worker tasks on Ctrl-C (SIGINT).
If the requested signal isn't supported on the current platform, the operation will be ignored.
Notes:
install_worker_term_hard_handler
wouldn't work because not all tasks would be terminatedinstall_worker_term_hard_handler
uses internally as well.Tested on Windows and Linux. All processes are terminated as expected.
Pull request checklist
Additional information