mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 21:38:01 +03:00
fix stepping a little better than last time
This commit is contained in:
parent
8bf8c7e6e9
commit
f179bd4cd7
3 changed files with 7 additions and 4 deletions
|
@ -52,11 +52,12 @@ void ThreadBase::Start()
|
|||
});
|
||||
}
|
||||
|
||||
void ThreadBase::Stop(bool wait)
|
||||
void ThreadBase::Stop(bool wait, bool send_destroy)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(m_main_mutex);
|
||||
|
||||
m_destroy = true;
|
||||
if (send_destroy)
|
||||
m_destroy = true;
|
||||
|
||||
if(!m_executor)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue