-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track down every piece of code that could hang because of a KeyboardInterrupt #43
Comments
We still have an error possible when booting the dispatcher and when join the threads in exit |
Maybe state also needs to release condition on imap cleanup. |
raise KeyboardInterrupt in cleanup and shutdown |
Basically the issue is this one: https://stackoverflow.com/questions/18637048/avoid-exception-ignored-in-python-enhanced-generator when a KeyboardInterrupt is fire in the cleanup phase (finally in the output generator or the |
Also see PEP419: https://www.python.org/dev/peps/pep-0419/ |
Also see this ref: https://vorpus.org/blog/control-c-handling-in-python-and-trio/ |
And edit the startup hook to make threads die before waiting barrier, or break the barrier
The text was updated successfully, but these errors were encountered: