Fix emulation restart

This commit is contained in:
Eladash 2021-04-23 17:01:05 +03:00 committed by Ivan
parent 082bbc7336
commit c7b5bbd467

View file

@ -2064,6 +2064,8 @@ void Emulator::Stop(bool restart)
sys_log.notice("Atomic wait hashtable stats: [in_use=%u, used=%u, max_collision_weight=%u, total_collisions=%u]", aw_refs, aw_used, aw_colm, aw_colc);
stop_watchdog = thread_state::aborting;
m_stop_ctr++;
m_stop_ctr.notify_all();