Open kakyoism opened 3 years ago
I'm not entirely sure about commit 0b0ef8c8668e1d54ca27582d2827efdf7e5ca76a
, but I think the event loop will not close itself on bailouts due to runtime errors, so I took some cautions there. Feel free to correct me if I'm wrong, please.
Moving to draft: larger work needed for graceful termination when multiple async loops are involved.
With current waapi-client, we get an error looking like this
when the caller process already uses an asyncio event loop.
So to solve this problem, I had to use this patch locally. Hope this patch helps with a sound solution to this scenario, which could happen often if external IPC is involved on the WAAPI caller side.