From 4f762115511077bf64910e48c59171e6f4e38c3c Mon Sep 17 00:00:00 2001 From: Eladash Date: Tue, 8 Jun 2021 19:57:11 +0300 Subject: [PATCH] Hotfix #10411 --- Utilities/Thread.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;