qt: exit properly on guest-initiated close

This commit is contained in:
Liam 2022-12-21 19:55:01 -05:00
parent 1b11e0f0d3
commit 60ce34aa80
2 changed files with 9 additions and 1 deletions

View file

@ -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();