Skip to content
Commit 1c3dc486 authored by David Edmundson's avatar David Edmundson Committed by David Edmundson
Browse files

Fix race in loading DBus activatable applets

If a service was registered between us requesting a list of names from
the daemon and us processing the reply we would miss it. An event
somewhat likely given plasmashell is very busy during startup.

DBus does guarantee preserved message order, so the correct thing to do
is:
 - create a match rule for new servies on DBus daemon
 - start fetching a list of names
 - ignore all changes that happen in the meantime
 - handle the list of all names

This will be race free
parent e2cc9f6d
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