mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
HackStudio: Clean up debugger thread when debugger exits
Fixes #4393 :^)
This commit is contained in:
parent
58d6781cbb
commit
36c17d5371
Notes:
sideshowbarker
2024-07-18 19:18:40 +09:00
Author: https://github.com/FalseHonesty Commit: https://github.com/SerenityOS/serenity/commit/36c17d53715 Pull-request: https://github.com/SerenityOS/serenity/pull/6299 Issue: https://github.com/SerenityOS/serenity/issues/4393 Reviewed-by: https://github.com/itamar8910 ✅
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue