We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeaf0f4 commit 324f864Copy full SHA for 324f864
rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp
@@ -391,9 +391,9 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
391
{
392
auto & waitable_handles =
393
waitable_triggered_handles_.empty() ? waitable_handles_ : waitable_triggered_handles_;
394
- auto it = waitable_handles.begin();
395
- while (it != waitable_handles.end()) {
396
- std::shared_ptr<Waitable> waitable = *it;
+ auto it = waitable_handles_.begin();
+ while (it != waitable_handles_.end()) {
+ std::shared_ptr<Waitable> & waitable = *it;
397
if (waitable) {
398
// Find the group for this handle and see if it can be serviced
399
auto group = get_group_by_waitable(waitable, weak_groups_to_nodes);
0 commit comments