mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 11:03:55 +01:00
fix stepping a little better than last time
This commit is contained in:
1 parent
8bf8c7e6e9
commit
f179bd4cd7
3 files changed
+7
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user