call shutdown in test
This commit is contained in:
parent
457b0e7077
commit
03cbc1c895
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ protected:
|
||||||
rclcpp::init(0, nullptr);
|
rclcpp::init(0, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void TearDownTestCase()
|
||||||
|
{
|
||||||
|
rclcpp::shutdown();
|
||||||
|
}
|
||||||
|
|
||||||
void SetUp()
|
void SetUp()
|
||||||
{
|
{
|
||||||
node = std::make_shared<rclcpp::Node>("my_node");
|
node = std::make_shared<rclcpp::Node>("my_node");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue