https://bugs.kde.org/show_bug.cgi?id=487660

--- Comment #11 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit e2326d7f9e752eb18411ef4c0bcd53b8f34e02c6 by Vlad Zahorodnii.
Committed on 28/05/2025 at 13:13.
Pushed by vladz into branch 'master'.

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

M  +7    -10   shell/main.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/e2326d7f9e752eb18411ef4c0bcd53b8f34e02c6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to