File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,18 @@ Release history
5
5
6
6
.. towncrier release notes start
7
7
8
- trio-asyncio 0.12.0 (2021-01-04 )
8
+ trio-asyncio 0.12.0 (2021-01-07 )
9
9
--------------------------------
10
10
11
11
Bugfixes
12
12
~~~~~~~~
13
13
14
+ - trio-asyncio now cancels any Trio tasks that were started inside a trio-asyncio
15
+ loop (using e.g. :func: `trio_as_aio `) before it allows the trio-asyncio loop
16
+ to close. This should resolve some cases of deadlocks and "RuntimeError: Event loop
17
+ is closed" when an ``async with open_loop(): `` block is cancelled. (`#89 <https://github.com/python-trio/trio-asyncio/issues/89 >`__)
18
+ - :func: `asyncio.get_running_loop ` will now return the trio-asyncio event loop
19
+ (if running), instead of failing with :exc: `RuntimeError `. (`#99 <https://github.com/python-trio/trio-asyncio/issues/99 >`__)
14
20
- On Python versions with native contextvars support (3.7+), a Trio task
15
21
started from asyncio context (using :func: `trio_as_aio `,
16
22
:meth: `~BaseTrioEventLoop.trio_as_future `, etc) will now properly
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments