Skip to content

Commit d65ea28

Browse files
it misses the iterator second to lock the weakptr. (#2958) (#2960)
(cherry picked from commit aa60fcf) Signed-off-by: Tomoya Fujita <[email protected]> Co-authored-by: Tomoya Fujita <[email protected]>
1 parent 2f854aa commit d65ea28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp_action/include/rclcpp_action/client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ class Client : public ClientBase
621621
return;
622622
}
623623

624-
goal_handle = it->lock();
624+
goal_handle = it->second.lock();
625625
}
626626

627627
if (goal_handle) {

0 commit comments

Comments
 (0)