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

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/98
                   |                            |7cafc23638d59bc4e15a964931a
                   |                            |04fe30aa988
             Status|ASSIGNED                    |RESOLVED

--- Comment #19 from David Edmundson <[email protected]> ---
Git commit 987cafc23638d59bc4e15a964931a04fe30aa988 by David Edmundson.
Committed on 02/12/2020 at 10:05.
Pushed by davidedmundson into branch 'master'.

[kcms/users] Avoid race condition on startup

If accounts service is not yet running the name will not be registered
when we make our first call.

We call into AccountsService from our client code with a blocking call.
We then create a new QDBusAbstractInterface on a given service.

QDBusAbstractInterface::isValid effectively is just a check that the
service is registered. This might not be processed yet at the time we
call this. It isn't a helpful check, if it wasn't up the previous call
to fetch users would have failed. We can just remove it.

M  +1    -1    kcms/users/src/user.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/987cafc23638d59bc4e15a964931a04fe30aa988

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

Reply via email to