Skip to content

Commit

Permalink
Minor bug fix when shutting down.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette committed Feb 24, 2023
1 parent 296e518 commit f4a6263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcl/src/rcl/service_event_publisher.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ rcl_ret_t rcl_service_event_publisher_fini(
return RCL_RET_ERROR;
}

if (!rcl_node_is_valid(node)) {
if (!rcl_node_is_valid_except_context(node)) {
return RCL_RET_NODE_INVALID;
}

Expand Down

0 comments on commit f4a6263

Please sign in to comment.