Open nvgoldin opened 8 years ago
This now works on master for SIGTERM only, SIGKILL(i.e. CTRL+C) does not work.
For unknown reason when sending SIGKILL signal, the thread which wraps _send_scp
method and is running inside a ThreadPoolExecutor
is being starved so it never ends its loop, despite the cancel_event
being set. This is extremely weird as it works flawlessly with SIGTERM
signal.
I've seen similar reports, though not exact, of this issue in asyncio:
https://github.com/python/asyncio/issues/376