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 d101035 commit 0ee9f72Copy full SHA for 0ee9f72
rclcpp/include/rclcpp/strategies/allocator_memory_strategy.hpp
@@ -120,8 +120,8 @@ class AllocatorMemoryStrategy : public memory_strategy::MemoryStrategy
120
}
121
122
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]));
+ if (!waitable_handles_[i]->is_ready(*wait_set)) {
+ waitable_handles_[i].reset();
125
126
127
0 commit comments