commit | 61c0467e3576e8fd26faa736a58c7345a82490bd | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Fri Feb 20 17:56:47 2015 -0800 |
committer | Marcel Holtmann <marcel@holtmann.org> | Sun Feb 22 19:43:23 2015 +0100 |
tree | 1a23d1259ba918c0dd09dd6d32d078bf9098c1b2 | |
parent | 06acadd1f28107c876a7662be9517723a3203128 [diff] |
gdbus: Don't refresh objects/props if disconnected If g_dbus_client_set_proxy_handlers gets called from within a proxy_removed callback, the code may end up refreshing the proxy's properties and incorrectly access the client's proxy_list as it gets freed. This patch fixes this, so that get_managed_objects does nothing if it gets called during a service disconnect.