Fixes a crash that occurs if you close KSysGuard with a Detailed Memory
Information window open. The crash is caused by ScriptingHtmlDialog
being freed twice.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma
Open KSysGuard
Right clock on a process and select Detailed Memory Information
Close the main KSysGuard window by clicking the close button in the title bar
Diff Detail
Diff Detail
- Repository
- R111 KSysguard Library
- Branch
- fixes_crash_when_closing_with_detailed_memory_usage_open (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 9512 Build 9530: arc lint + arc unit
Comment Actions
I don't have webkit built, so can't test this, but I have one concern:
- refreshAction is owned by mScriptingHtmlDialog
- when refresh action is triggered we will delete mScriptingHtmlDialog immediately
- which means we've now killed refreshAction whilst it's triggering an event