You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the wrapped method (like BlockingKernelClient.get_shell_msg) is interrupted by KeyboardInterrupt(Ctrl+C), the event loop is interrupted, and the task ( asyncio.Task ) becomes a pending state.
If I call the wrapped method again, it does not return.
When the wrapped method (like
BlockingKernelClient.get_shell_msg
) is interrupted by KeyboardInterrupt(Ctrl+C), the event loop is interrupted, and the task (asyncio.Task
) becomes a pending state.If I call the wrapped method again, it does not return.
I think
run_sync
should cancel the pending task.https://stackoverflow.com/questions/30765606/whats-the-correct-way-to-clean-up-after-an-interrupted-event-loop
The text was updated successfully, but these errors were encountered: