We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bc4a4b commit e8d9526Copy full SHA for e8d9526
rclcpp/include/rclcpp/experimental/intra_process_manager.hpp
@@ -577,11 +577,14 @@ class IntraProcessManager
577
auto server = get_matching_intra_process_action_server<ActionT>(ipc_action_client_id);
578
579
if (server) {
580
+ {
581
+ std::unique_lock<std::shared_timed_mutex> lock(mutex_);
582
+ clients_uuid_to_id_[goal_id] = ipc_action_client_id;
583
+ }
584
+
585
server->store_ipc_action_goal_request(
586
ipc_action_client_id, std::move(goal_request));
587
- std::unique_lock<std::shared_timed_mutex> lock(mutex_);
- clients_uuid_to_id_[goal_id] = ipc_action_client_id;
588
return true;
589
}
590
return false;
0 commit comments