1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:08:10 +00:00

SystemMonitor: Don't generate backtraces while not looking at them

This commit is contained in:
Andreas Kling 2021-04-05 11:29:18 +02:00
parent 3bb36dbd3f
commit cbc582e0df
2 changed files with 15 additions and 3 deletions

View file

@ -40,6 +40,9 @@ public:
private:
ThreadStackWidget();
virtual void show_event(GUI::ShowEvent&) override;
virtual void hide_event(GUI::HideEvent&) override;
pid_t m_pid { -1 };
pid_t m_tid { -1 };
RefPtr<GUI::TextEditor> m_stack_editor;