diff --git a/Utilities/Thread.h b/Utilities/Thread.h index 845b29feb6..e7a4cf6ee2 100644 --- a/Utilities/Thread.h +++ b/Utilities/Thread.h @@ -624,12 +624,12 @@ public: { this->wake_up(); } + } - if (s == thread_state::finished) - { - // This participates in emulation stopping, use destruction-alike semantics - thread::join(true); - } + if (s == thread_state::finished) + { + // This participates in emulation stopping, use destruction-alike semantics + thread::join(true); } return *this;