Browse Source
This wraps the closing behavior in a task. Subsequent callers of .close() now await that same close finishing rather than short circuiting. This prevents a user-called close outside of __aexit__ from not finishing before no longer having a running event loop.pull/10109/head
committed by
dolfies
1 changed files with 24 additions and 19 deletions
Loading…
Reference in new issue