We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d83ec commit 660ffaaCopy full SHA for 660ffaa
rclcpp/include/rclcpp/wait_set_policies/static_storage.hpp
@@ -160,6 +160,14 @@ class StaticStorage : public rclcpp::wait_set_policies::detail::StoragePolicyCom
160
services_,
161
waitables_
162
);
163
+
164
+ if(this->needs_pruning_) {
165
+ // we need to throw here, as the indexing of the rcl_waitset is broken,
166
+ // in case of invalid entries
167
168
+ throw std::runtime_error(
169
+ "StaticStorage : storage_rebuild_rcl_wait_set: Detected invalid entity in static entity storage");
170
+ }
171
}
172
173
// storage_add_subscription() explicitly not declared here
0 commit comments