Parent: e985127b91331c97293ee063cb328c9e8fba9ea6
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-04-03 10:40:22
Tree: fe8bce63acd66e75c52e605a9478dcea63ca591c
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.
Diffstat
| M | gdbus/client.c | | | 14 | ++++++++++++- - |
1 files changed, 12 insertions(+), 2 deletions(-)