Mercurial > pidgin
changeset 27357:1ae69ca12971
Unregister the account signals after destroying accounts.
This avoids the following assertion failure:
** (process:32101): CRITICAL **: purple_signal_emit_vargs: assertion `instance_data != NULL' failed
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 05 Jul 2009 19:07:06 +0000 |
parents | 7c647e3c8c63 |
children | 46e0f65b14a1 |
files | libpurple/account.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/account.c Sun Jul 05 17:34:49 2009 +0000 +++ b/libpurple/account.c Sun Jul 05 19:07:06 2009 +0000 @@ -2813,9 +2813,9 @@ sync_accounts(); } + for (; accounts; accounts = g_list_delete_link(accounts, accounts)) + purple_account_destroy(accounts->data); + purple_signals_disconnect_by_handle(handle); purple_signals_unregister_by_instance(handle); - - for (; accounts; accounts = g_list_delete_link(accounts, accounts)) - purple_account_destroy(accounts->data); }