Skip to content

Commit cc065a1

Browse files
author
Jeffery Hsu
committed
experimenting
1 parent fd6bc9b commit cc065a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

irobot_events_executor/src/rclcpp/executors/events_executor/events_executor_entities_collector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ EventsExecutorEntitiesCollector::create_entity_callback(
390390
void * exec_entity_id, ExecutorEventType event_type)
391391
{
392392
std::function<void(size_t)> callback = [this, exec_entity_id, event_type](size_t num_events) {
393+
assert(this !=nullptr)
393394
ExecutorEvent event = {exec_entity_id, -1, event_type, num_events};
394395
associated_executor_->events_queue_->enqueue(event);
395396
};

0 commit comments

Comments
 (0)