https://bugs.kde.org/show_bug.cgi?id=487660
--- Comment #13 from Vlad Zahorodnii <vlad.zahorod...@kde.org> --- Git commit 88911e8246c0136fa07945304fc9ba7840b90f8f by Vlad Zahorodnii. Committed on 28/05/2025 at 13:36. Pushed by vladz into branch 'Plasma/6.4'. shell: Rearrange the teardown order At the moment, the ShellCorona is destroyed after the QApplication object. Destroying something after the application object can lead to unexpected results because most of the code is written with an assumption that the app object and the associated objects, e.g. the qpa, are still valid when the cleanup code runs. This change puts the ShellCorona on the stack so the destruction order looks as follows: - destroy ShellCorona - destroy QApplication (cherry picked from commit e2326d7f9e752eb18411ef4c0bcd53b8f34e02c6) Co-authored-by: Vlad Zahorodnii <vlad.zahorod...@kde.org> M +7 -10 shell/main.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/88911e8246c0136fa07945304fc9ba7840b90f8f -- You are receiving this mail because: You are watching all bug changes.