Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_safe_loop: Discard wrapped asyncio.run loop that was closed
Since commit cb0c09d, _get_running_loop can wrap loops from asyncio.run, so these loops need to be discarded if they've been closed. Fixes: cb0c09d ("Support coroutine exitfuncs for non-main loops") Bug: https://bugs.gentoo.org/938761 Bug: https://bugs.gentoo.org/761538 Signed-off-by: Zac Medico <[email protected]>
- Loading branch information