commit | 7574e964a79c2cb4307337f9f60d7ddead82fa33 | [log] [tgz] |
---|---|---|
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | Wed Apr 02 15:30:21 2014 -0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Sep 08 05:50:09 2014 +0200 |
tree | 460dc833ea4c6a6ec0def8fe8a4126822b0acf71 | |
parent | 80cb8c10259928b2f6d0d6a61db8400cb8768410 [diff] |
gdbus: Avoid reporting GDBusClient disconnect twice No matter if disconnection was reported previously, g_dbus_client_unref() was always calling service disconnect callback. This patch fix the following scenario: 1) service disconnects from the bus 2) disconnect callback gets called 3) client calls g_dbus_client_unref(), disconnect callback is called again.