From 03cbc1c8956e9c1fccc48da8a11a47e09b7b7563 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Wed, 28 Nov 2018 21:14:46 -0800 Subject: [PATCH] call shutdown in test --- rclcpp/test/test_time_source.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rclcpp/test/test_time_source.cpp b/rclcpp/test/test_time_source.cpp index 6a6c37b..54c0e69 100644 --- a/rclcpp/test/test_time_source.cpp +++ b/rclcpp/test/test_time_source.cpp @@ -37,6 +37,11 @@ protected: rclcpp::init(0, nullptr); } + static void TearDownTestCase() + { + rclcpp::shutdown(); + } + void SetUp() { node = std::make_shared("my_node");