changeset 24900:6267675cbc1d

purple_prefs_disconnect_by_handle() wont actually remove anything with the specified handle (and is also unnecessary because it'll get cleaned up in purple_prefs_destroy()). References #7761
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 Jan 2009 18:50:33 +0000
parents 60ae522a239a
children fc32b392c968
files libpurple/prefs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/prefs.c	Sat Jan 03 18:37:37 2009 +0000
+++ b/libpurple/prefs.c	Sat Jan 03 18:50:33 2009 +0000
@@ -1454,8 +1454,8 @@
 		save_timer = 0;
 		sync_prefs();
 	}
+
 	prefs_loaded = FALSE;
-	purple_prefs_disconnect_by_handle(purple_prefs_get_handle());
 	purple_prefs_destroy();
 	g_hash_table_destroy(prefs_hash);
 	prefs_hash = NULL;