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 <[email protected]>
  • Loading branch information
clalancette committed Feb 23, 2023
1 parent db4ebe7 commit 75ea33e
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 75ea33e

Please sign in to comment.