commit | 227dc14e675834be3db78eec744ab830f6b34459 | [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:50 2015 +0100 |
tree | e3bf082b49eb36761e0831102bd93464842b1924 | |
parent | 78e1290bd9f5d18162c8cd9d82247414a4b6f382 [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.