From 5ae348a900fddb00c2e1a93285cd92709d524ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez?= Date: Wed, 10 Apr 2024 10:55:22 +0200 Subject: [PATCH] Refs #20242. Fix log thread being killed in windows on unit test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González --- .../dds/xtypes/type_representation/TypeObjectUtilsTests.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unittest/dds/xtypes/type_representation/TypeObjectUtilsTests.cpp b/test/unittest/dds/xtypes/type_representation/TypeObjectUtilsTests.cpp index 48d20f3f58..55cbd0b5d6 100644 --- a/test/unittest/dds/xtypes/type_representation/TypeObjectUtilsTests.cpp +++ b/test/unittest/dds/xtypes/type_representation/TypeObjectUtilsTests.cpp @@ -3451,5 +3451,7 @@ int main( char** argv) { testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); + int ret_value = RUN_ALL_TESTS(); + eprosima::fastdds::dds::Log::KillThread(); + return ret_value; }