summaryrefslogtreecommitdiffstats
path: root/network/NetworkManager/patches/core-handle-D-Bus-disconnect-better-on-exit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/NetworkManager/patches/core-handle-D-Bus-disconnect-better-on-exit.patch')
-rw-r--r--network/NetworkManager/patches/core-handle-D-Bus-disconnect-better-on-exit.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/network/NetworkManager/patches/core-handle-D-Bus-disconnect-better-on-exit.patch b/network/NetworkManager/patches/core-handle-D-Bus-disconnect-better-on-exit.patch
deleted file mode 100644
index fc21e53b01..0000000000
--- a/network/NetworkManager/patches/core-handle-D-Bus-disconnect-better-on-exit.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 9751335f013248749d7d05c56c9c18af1410baa1 Mon Sep 17 00:00:00 2001
-From: Dan Williams <dcbw@redhat.com>
-Date: Sun, 2 Jan 2011 10:49:36 -0600
-Subject: [PATCH 8/8] core: handle D-Bus disconnect better on exit
-
-We're just going to quit here anyway, so we don't need to
-make sure the property filter is unregistered. Fixes a
-crash on exit if D-Bus has quit before NM has.
----
- src/nm-manager.c | 9 +++++----
- 1 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/src/nm-manager.c b/src/nm-manager.c
-index afcc6ad..9bd5354 100644
---- a/src/nm-manager.c
-+++ b/src/nm-manager.c
-@@ -4364,10 +4364,11 @@ dispose (GObject *object)
-
- /* Unregister property filter */
- bus = nm_dbus_manager_get_connection (priv->dbus_mgr);
-- g_assert (bus);
-- dbus_connection = dbus_g_connection_get_connection (bus);
-- g_assert (dbus_connection);
-- dbus_connection_remove_filter (dbus_connection, prop_filter, manager);
-+ if (bus) {
-+ dbus_connection = dbus_g_connection_get_connection (bus);
-+ g_assert (dbus_connection);
-+ dbus_connection_remove_filter (dbus_connection, prop_filter, manager);
-+ }
- g_object_unref (priv->dbus_mgr);
-
- if (priv->bluez_mgr)
---
-1.7.3.4
-