HackStudio: Clean up debugger thread when debugger exits

Fixes #4393 :^)
This commit is contained in:
FalseHonesty 2021-04-13 17:04:46 -04:00 committed by Linus Groh
parent 58d6781cbb
commit 36c17d5371
Notes: sideshowbarker 2024-07-18 19:18:40 +09:00

View file

@ -676,6 +676,7 @@ void HackStudioWidget::initialize_debugger()
m_debug_info_widget->program_stopped();
m_disassembly_widget->program_stopped();
m_stop_action->set_enabled(false);
m_debugger_thread.clear();
HackStudioWidget::hide_action_tabs();
GUI::MessageBox::show(window(), "Program Exited", "Debugger", GUI::MessageBox::Type::Information);
}));