moveit_ros_control_interface: Fix dangling reference#710
moveit_ros_control_interface: Fix dangling reference#710henningkayser merged 2 commits intomoveit:mainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #710 +/- ##
=======================================
Coverage 54.18% 54.18%
=======================================
Files 192 192
Lines 20186 20186
=======================================
Hits 10935 10935
Misses 9251 9251 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Are you sure this is a dangling reference? From the code I don't see why this would happen (result_future doesn't go out of scope here). Not knowing your issue, I'd suspect that we are getting an invalid future while the code only checks for timeout.
Side note: is async_send_request() guaranteed to return a valid future?
Yes, I'm pretty sure, see P2012R1 for why this's happening |
I see, so I think it might still make sense to check for |
Description
Checklist