mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 03:30:09 +01:00
Fix rh #232691; never got onto trunk
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2845 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
7e3abbe27f
commit
f95dd6b2d5
1 changed files with 2 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ libnm_glib_dbus_filter (DBusConnection *connection,
|
|||
{
|
||||
/* Try to reactivate our connection to dbus on the next pass through the event loop */
|
||||
ctx->nm_state = LIBNM_NO_DBUS;
|
||||
dbus_connection_close (ctx->dbus_con);
|
||||
dbus_connection_unref (ctx->dbus_con);
|
||||
ctx->dbus_con = NULL;
|
||||
libnm_glib_schedule_dbus_watcher (ctx);
|
||||
|
|
@ -448,6 +449,7 @@ libnm_glib_ctx_free (libnm_glib_ctx *ctx)
|
|||
|
||||
if (ctx->dbus_con)
|
||||
{
|
||||
dbus_connection_close (ctx->dbus_con);
|
||||
dbus_connection_unref (ctx->dbus_con);
|
||||
ctx->dbus_con = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue