From 3aa146fe46f994fcb0a8c431cfbd1d38a83a68f6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 11 Aug 2009 09:40:45 +0100 Subject: [PATCH] =?utf-8?q?Bug=20590874=20=E2=80=93=20crash=20in=20Bluetooth:=20adding=20a=20bluetooth=20NAP=20phone?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Don't unload plugins, fixes crashes on exit when the plugins register GObject types. --- lib/bluetooth-plugin-manager.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/bluetooth-plugin-manager.c b/lib/bluetooth-plugin-manager.c index c8db9ef..ab1751c 100644 --- a/lib/bluetooth-plugin-manager.c +++ b/lib/bluetooth-plugin-manager.c @@ -101,7 +101,9 @@ bluetooth_plugin_manager_cleanup (void) for (l = plugin_list; l != NULL; l = l->next) { GbtPlugin *p = l->data; - g_module_close (p->module); + /* Disabled as it causes crashes when plugins use + * the GObject type system */ + /* g_module_close (p->module); */ g_free (p); } g_list_free (plugin_list); -- 1.6.2.5