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

Fushan Wen <qydwhotm...@gmail.com> 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/0f1fe59a2e413b82609b2aac4 |t/51239aa1033b6deeff0e382e4
                   |cf47d9345882cae             |3d4abaf9411a756

--- Comment #7 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 51239aa1033b6deeff0e382e43d4abaf9411a756 by Fushan Wen, on behalf of
Harald Sitter.
Committed on 23/03/2024 at 12:53.
Pushed by fusionfuture into branch 'Plasma/6.0'.

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)

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/51239aa1033b6deeff0e382e43d4abaf9411a756

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

Reply via email to