Mercurial > pidgin.yaz
diff libpurple/protocols/msn/switchboard.c @ 24481:15db3067a5ac
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.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 25 Nov 2008 22:06:06 +0000 |
parents | 82452077f0db |
children | 86ba0d87c04b 0a6f702bf9dc a0fd6a41d127 |
line wrap: on
line diff
--- 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);