Skip to content
Commit 25e84f3f authored by David Edmundson's avatar David Edmundson
Browse files

Avoid autostarting kglobalaccel when shutting down

Order of our service teardown is somewhat undefined. kglobalaccel5 can
be closed before plasmashell.

On plasma exit we call setInactive/unregister on various kglobalaccel
actions and accidentally spawn kglobalaccel again.

If kglobalaccel is already closed, our actions aren't registered. There
is no point waking it up to try and remove an action. Use of the
setAutoStartService flag was chosen over checking if the kglobalaccel
service is still registered as that is still racey.

This was always slightly broken, but changes in the ecosystem means the
effect has worsened.

CCBUG: 429415
parent 4d6972fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment