# HG changeset patch # User Mark Doliner # Date 1227650766 0 # Node ID 15db3067a5acef9ca6b3057f9adccfa47b8edfad # Parent a9fdc17304d9b4fefcf56ff8892784a5f874a3c2 Remove this timer when the switchboard is destroyed. Fixes a crash if we disconect at the same time we're attempting to retry a command, or something. diff -r a9fdc17304d9 -r 15db3067a5ac libpurple/protocols/msn/switchboard.c --- a/libpurple/protocols/msn/switchboard.c Tue Nov 25 21:35:59 2008 +0000 +++ b/libpurple/protocols/msn/switchboard.c Tue Nov 25 22:06:06 2008 +0000 @@ -81,6 +81,9 @@ swboard->destroying = TRUE; + if (swboard->reconn_timeout_h > 0) + purple_timeout_remove(swboard->reconn_timeout_h); + /* If it linked us is because its looking for trouble */ while (swboard->slplinks != NULL) msn_slplink_destroy(swboard->slplinks->data);