python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio
Other
188 stars 37 forks source link

Exiting open_loop() context should cancel asyncio tasks, like asyncio.run() does #91

Closed oremanj closed 3 years ago

oremanj commented 3 years ago

Right now it just stops them at whatever point they're at, without giving them a chance to clean up resources.