Skip to content

Commit

Permalink
Switch to z_undeclare_queryable.
Browse files Browse the repository at this point in the history
It's just the counterpart to z_declare_queryable.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Feb 9, 2024
1 parent c8651af commit ac35d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2661,7 +2661,7 @@ rmw_destroy_service(rmw_node_t * node, rmw_service_t * service)

// CLEANUP ================================================================
z_drop(z_move(service_data->keyexpr));
z_drop(z_move(service_data->qable));
z_undeclare_queryable(z_move(service_data->qable));
z_drop(z_move(service_data->token));

RMW_TRY_DESTRUCTOR(
Expand Down

0 comments on commit ac35d3d

Please sign in to comment.