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
If I use Ctrl-C to exit a program using aiofiles with an open file pipe, another Ctrl-C is required and the thread is hanging in _wait_for_tstate_lock elif lock.acquire(block, timeout). A common solution I've seen is to ensure the thread is marked as a daemon, so that "the entire Python program exits when only daemon threads are left".
The text was updated successfully, but these errors were encountered:
If I use Ctrl-C to exit a program using
aiofiles
with an open file pipe, another Ctrl-C is required and the thread is hanging in_wait_for_tstate_lock elif lock.acquire(block, timeout)
. A common solution I've seen is to ensure the thread is marked as a daemon, so that "the entire Python program exits when only daemon threads are left".The text was updated successfully, but these errors were encountered: