Skip to content

Commit 831cadd

Browse files
committed
fix issue in destruction order
1 parent 06c856a commit 831cadd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

include/behaviortree_cpp/utils/timer_queue.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class TimerQueue
8686
{
8787
m_finish.store(true);
8888
cancelAll();
89-
9089
if(m_thread.joinable())
9190
{
9291
m_thread.join();

tests/gtest_decorator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ struct RetryTest : testing::Test
6868

6969
struct TimeoutAndRetry : testing::Test
7070
{
71-
BT::TimeoutNode timeout_root;
7271
BT::RetryNode retry;
72+
BT::TimeoutNode timeout_root;
7373
BT::SyncActionTest action;
7474

7575
TimeoutAndRetry() : timeout_root("deadline", 9), retry("retry", 1000), action("action")

0 commit comments

Comments
 (0)