-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from oremanj/fix-startup-deadlock
Fix potential deadlock if open_loop() is cancelled
- Loading branch information
Showing
2 changed files
with
53 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
A deadlock will no longer occur if :func:`trio_asyncio.open_loop` | ||
is cancelled before its first checkpoint. We also now cancel and wait on | ||
all asyncio tasks even if :func:`~trio_asyncio.open_loop` terminates due | ||
to an exception that was raised within the ``async with`` block. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters