Skip to content
  • Claudio Takahasi's avatar
    gdbus: Avoid reporting GDBusClient disconnect twice · 29e7eb4e
    Claudio Takahasi authored
    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.
    29e7eb4e