Skip to content

Commit

Permalink
Detach listener
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Santiago <[email protected]>
  • Loading branch information
jsan-rt authored and richiware committed Jul 15, 2022
1 parent 4fa142e commit b2c61f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rmw_fastrtps_shared_cpp/src/rmw_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ __rmw_destroy_service(
show_previous_error();
RMW_SET_ERROR_MSG("Fail in delete datawriter");
final_ret = RMW_RET_ERROR;
info->response_writer_->set_listener(nullptr);
}

// Delete DataWriter listener
Expand Down

0 comments on commit b2c61f4

Please sign in to comment.