You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application, I'm calling room.localParticipant()->publishData(...) at 10Hz with a tiny (34 byte) payload in a loop from the main thread of a ROS node.
The amount of time varies, but eventually the call will block indefinitely.
Further debugging identified the root cause: the FfiEvent with the corresponding async_id is delivered in the short window between calling sendRequest and registering the async handler.
I've patched LocalParticipant::publishData locally so that the fut.get() is instead a fut.wait_for(...) to get unblocked (let me know if you'd like a PR!), but it might be worth having a discussion about how we might update the core ffi async handling to avoid this issue.