Open pavel-kirienko opened 7 months ago
Here, the call to ensure_future is invalid because emit can be invoked from any thread while we must use the asyncio loop from the node thread:
ensure_future
emit
https://github.com/OpenCyphal/pycyphal/blob/40e14821285f48ad997cb3f7a8457d79a88db082/pycyphal/application/diagnostic.py#L187
Related: #334
Here, the call to
ensure_future
is invalid becauseemit
can be invoked from any thread while we must use the asyncio loop from the node thread:https://github.com/OpenCyphal/pycyphal/blob/40e14821285f48ad997cb3f7a8457d79a88db082/pycyphal/application/diagnostic.py#L187
Related: #334