Skip to content

Commit 0ee9f72

Browse files
committed
fixup revert mistake
Signed-off-by: William Woodall <[email protected]>
1 parent d101035 commit 0ee9f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
120120
}
121121
}
122122
for (size_t i = 0; i < waitable_handles_.size(); ++i) {
123-
if (waitable_handles_[i]->is_ready(*wait_set)) {
124-
waitable_triggered_handles_.emplace_back(std::move(waitable_handles_[i]));
123+
if (!waitable_handles_[i]->is_ready(*wait_set)) {
124+
waitable_handles_[i].reset();
125125
}
126126
}
127127

0 commit comments

Comments
 (0)