GNOME Bugzilla – Bug 754730
GDBusConnection::closed vs g_dbus_connection_is_closed()
Last modified: 2018-05-24 18:13:24 UTC
When GDBusConnection::closed is emitted in the remote_peer_disconnected case, FLAG_CLOSED gets set on the connection, but it does not get fully cleaned up. In particular, if the connection is a private bus connection, the local socket remains open, and gets leaked when the connection is destroyed. g_dbus_connection_close() will clean things up correctly in this case, but g_dbus_connection_close_sync() won't, because it checks for FLAG_CLOSED and does nothing in that case.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1080.