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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/51239aa1033b6deeff0e382e4 |t/7fd7143bc958e9441e99930dc
                   |3d4abaf9411a756             |7e0ba9bd0f70faf

--- Comment #8 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit 7fd7143bc958e9441e99930dc7e0ba9bd0f70faf by Kai Uwe Broulik.
Committed on 12/02/2025 at 06:57.
Pushed by broulik into branch 'Plasma/5.27'.

eventpluginsmanager: don't crash on double-delete of plugin objects

The Qt docs command no deletes!

> Don't try to delete the root component. Instead rely on that unload()
will automatically delete it when needed.

and

> When the library is finally unloaded, the root component will
automatically be deleted.

consequently don't delete the root component and then crash when a
double delete occurs. This notably seems easy to produce with multiple
clocks that have events plugins loaded.


(cherry picked from commit 0f1fe59a2e413b82609b2aac4cf47d9345882cae)

(cherry picked from commit 51239aa1033b6deeff0e382e43d4abaf9411a756)

Co-authored-by: Harald Sitter <sit...@kde.org>

M  +3    -1    components/calendar/eventpluginsmanager.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/7fd7143bc958e9441e99930dc7e0ba9bd0f70faf

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

Reply via email to