diff options
author | Henrique Dante de Almeida <hdante@profusion.mobi> | 2013-05-27 14:15:34 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-06-19 08:11:16 +0200 |
commit | 9a538bc6638fdc513eb6ade2a3412b09ed2ff239 (patch) | |
tree | f8be6120e8eb63dc15fb02c32e019b42f8335f8c /tools | |
parent | 527355eb1a2179b16c5c21ccf9c484c2dda7cbb8 (diff) | |
download | neard-9a538bc6638fdc513eb6ade2a3412b09ed2ff239.tar.gz neard-9a538bc6638fdc513eb6ade2a3412b09ed2ff239.tar.bz2 neard-9a538bc6638fdc513eb6ade2a3412b09ed2ff239.zip |
gdbus: Remove proxies when client disconnects
Remove proxies and generate proxy_removed callbacks even when there are
no corresponding InterfaceRemoved signals.
This patch fixes having zombie gdbus proxy object when a server
disconnects without sending InterfaceRemoved signals. These objects
may interact with new server instances, for example, making
InterfaceAdded signals of new objects with the same name be filtered
out as duplicated, or staying allocated, but unused, if the new server
doesn't reuse the object paths. Note that as a side-effect, the
lifetime of a gdbus proxy becomes stricter: it lives at most for the
duration of a single connection to a single instance of a server
process.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions