[gnome-bluetooth] Bug 590874 – crash in Bluetooth: adding a bluetooth NAP phone



commit 3aa146fe46f994fcb0a8c431cfbd1d38a83a68f6
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Aug 11 09:40:45 2009 +0100

    Bug 590874 â?? crash in Bluetooth: adding a bluetooth NAP phone
    
    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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]