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 a114466 commit bc587daCopy full SHA for bc587da
hardware_interface/src/hardware_component_interface.cpp
@@ -55,7 +55,14 @@ HardwareComponentInterface::HardwareComponentInterface()
55
{
56
}
57
58
-HardwareComponentInterface::~HardwareComponentInterface() = default;
+HardwareComponentInterface::~HardwareComponentInterface()
59
+{
60
+ if (async_handler_)
61
+ {
62
+ async_handler_->stop_thread();
63
+ }
64
+ async_handler_.reset();
65
+}
66
67
CallbackReturn HardwareComponentInterface::init(
68
const hardware_interface::HardwareComponentParams & params)
0 commit comments