Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ class EventsExecutorNotifyWaitable final : public EventWaitable

// Destructor
RCLCPP_PUBLIC
virtual ~EventsExecutorNotifyWaitable() = default;
virtual ~EventsExecutorNotifyWaitable()
{
for (auto & gc : notify_guard_conditions_) {
gc->set_on_trigger_callback(nullptr);
}
}

// The function is a no-op, since we only care of waking up the executor
RCLCPP_PUBLIC
Expand Down