Skip to content

Commit

Permalink
Merge pull request #62 from mauropasse/mauro/remove-gc-listener-callback
Browse files Browse the repository at this point in the history
Do not set gc listener callback
  • Loading branch information
alsora authored Apr 1, 2021
2 parents 5ecfad0 + 4ed9a51 commit f265438
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions rclcpp/src/rclcpp/subscription_intra_process_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ SubscriptionIntraProcessBase::set_listener_callback(
rmw_listener_callback_t callback,
const void * user_data) const
{
rcl_ret_t ret = rcl_guard_condition_set_listener_callback(
&gc_,
callback,
user_data);

if (RCL_RET_OK != ret) {
throw std::runtime_error("Couldn't set guard condition listener callback");
}
(void)callback;
(void)user_data;
}

0 comments on commit f265438

Please sign in to comment.