mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Restore thread counter (world may be not ready yet)
Remove dumb 1300ms timeout.
This commit is contained in:
parent
cd40bc8c61
commit
7eebe06931
4 changed files with 19 additions and 3 deletions
|
@ -1600,6 +1600,14 @@ void Emulator::Stop(bool restart)
|
|||
|
||||
cpu_thread::stop_all();
|
||||
g_fxo->reset();
|
||||
|
||||
while (thread_ctrl::get_count())
|
||||
{
|
||||
std::this_thread::sleep_for(10ms);
|
||||
}
|
||||
|
||||
sys_log.notice("All threads have been stopped.");
|
||||
|
||||
lv2_obj::cleanup();
|
||||
idm::clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue