Commit 952af57d authored by Ray Strode's avatar Ray Strode

daemon: close up ListCachedUsers race at start up

if accountsservice is activated by the ListCachedUsers call,
then the call may get processed before the list of users is loaded.

This commit closes the race by synchronously loading the list of
users at start up.
parent 39f9b60c
......@@ -537,8 +537,7 @@ daemon_init (Daemon *daemon)
daemon->priv->gdm_monitor = setup_monitor (daemon,
PATH_GDM_CUSTOM,
on_gdm_monitor_changed);
queue_reload_users (daemon);
reload_users_timeout (daemon);
queue_reload_autologin (daemon);
}
......
Markdown is supported
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