qt: exit properly on guest-initiated close
This commit is contained in:
parent
1b11e0f0d3
commit
60ce34aa80
2 changed files with 9 additions and 1 deletions
|
@ -78,7 +78,6 @@ void EmuThread::run() {
|
|||
gpu.Start();
|
||||
|
||||
m_system.GetCpuManager().OnGpuReady();
|
||||
m_system.RegisterExitCallback([this] { m_stop_source.request_stop(); });
|
||||
|
||||
if (m_system.DebuggerEnabled()) {
|
||||
m_system.InitializeDebugger();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue