C++ foxglove websocket server: ambiguous handler invoke timing #1049
-
Hey guys. Thanks for wonderful products and code repositories. Namely, my server stores the last received message per topic, and if a subscription request from client comes then it emits the saved message of the requested topic immediately. The problem is that I figured out that In fact, I block-scoped L1271~1272 and move L1270 after the block, then I could get the desired behavior. Based on its python and typescript counterparts, I suppose that the C++ callback Note: Here are the handlers I have checked so far which call timing should be fixed.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the detailed write-up. I've ticketed this internally (https://linear.app/foxglove/issue/FG-9181/c-foxglove-websocket-server-ambiguous-handler-invoke-timing) and we'll try to get to it over the next few weeks. If you feel inspired to make a PR for this before we get around to it we'll happily review. |
Beta Was this translation helpful? Give feedback.
Thanks for the detailed write-up. I've ticketed this internally (https://linear.app/foxglove/issue/FG-9181/c-foxglove-websocket-server-ambiguous-handler-invoke-timing) and we'll try to get to it over the next few weeks. If you feel inspired to make a PR for this before we get around to it we'll happily review.