A terminate handler should be added to ros2_control_node as a last resort to ensure destructors of system components are called and (when done) everything in ResourceManager can be put through their lifecycles properly.
Implementation idea:
ResourceManager and ResourceStorage could have some way of resetting
which should be triggered from terminate_handler defined in ros2_control_node.
This should help with issues similar to #445 in the future.
A terminate handler should be added to
ros2_control_node
as a last resort to ensure destructors of system components are called and (when done) everything inResourceManager
can be put through their lifecycles properly.Implementation idea:
terminate_handler
defined inros2_control_node
.This should help with issues similar to #445 in the future.