commit | 29e7eb4ef1e4935951d6ab126eb6310cbfa65cbd | [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:47:01 2014 +0200 |
tree | 493865e9bcb59478af686d534c18a0f02ee103fa | |
parent | 396d7f1cdaeae623afcd49eb4acde75491d6f20f [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.