Skip to content

Commit

Permalink
Remove redundant undeclare token
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Oct 9, 2024
1 parent 3185cc8 commit b9508db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rmw_zenoh_cpp/src/detail/rmw_service_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,6 @@ rmw_ret_t ServiceData::shutdown()
if (z_check(qable_)) {
z_undeclare_queryable(z_move(qable_));
}
if (z_check(token_)) {
z_drop(z_move(token_));
}

is_shutdown_ = true;
return RMW_RET_OK;
Expand Down

0 comments on commit b9508db

Please sign in to comment.