Skip to content
Commit 51239aa1 authored by Harald Sitter's avatar Harald Sitter 🐧 Committed by Fushan Wen
Browse files

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.

BUG: 477165


(cherry picked from commit 0f1fe59a)
parent 82a81bb8
Pipeline #640114 passed with stage
in 12 minutes and 29 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment