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]>
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
jsan-rt authored and richiware committed Jul 15, 2022
1 parent bf35811 commit 61d1f07
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 61d1f07

Please sign in to comment.