Mercurial > pidgin
changeset 31232:e67cd3f2ebb6
silc: Debug messages.
This code (after looking at the relevant functions in libsilc) seems
*very* fragile. As in, it will break if you have more than one account
at a time. I think this fragility is what's crashing chf. Refs #13247
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 20 Feb 2011 03:03:54 +0000 |
parents | b79dfdbb94e2 |
children | 58d9bcd75866 |
files | libpurple/protocols/silc/silc.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/silc/silc.c Sun Feb 20 02:31:28 2011 +0000 +++ b/libpurple/protocols/silc/silc.c Sun Feb 20 03:03:54 2011 +0000 @@ -654,6 +654,8 @@ { SilcPurple sg = (SilcPurple)context; + purple_debug_info("silc", "Finalizing SilcPurple %p\n", sg); + silc_client_stop(sg->client, NULL, NULL); silc_client_free(sg->client); if (sg->sha1hash) @@ -714,6 +716,8 @@ #endif /* __SILC_TOOLKIT_VERSION */ purple_timeout_remove(sg->scheduler); + + purple_debug_info("silc", "Scheduling destruction of SilcPurple %p\n", sg); purple_timeout_add(1, (GSourceFunc)silcpurple_close_final, sg); }