This commit is contained in:
Eladash 2021-06-08 19:57:11 +03:00 committed by Ivan
parent c918f395b9
commit 4f76211551

View file

@ -624,13 +624,13 @@ public:
{ {
this->wake_up(); this->wake_up();
} }
}
if (s == thread_state::finished) if (s == thread_state::finished)
{ {
// This participates in emulation stopping, use destruction-alike semantics // This participates in emulation stopping, use destruction-alike semantics
thread::join(true); thread::join(true);
} }
}
return *this; return *this;
} }