Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
24480:a9fdc17304d9 | 24481:15db3067a5ac |
---|---|
78 | 78 |
79 if (swboard->destroying) | 79 if (swboard->destroying) |
80 return; | 80 return; |
81 | 81 |
82 swboard->destroying = TRUE; | 82 swboard->destroying = TRUE; |
83 | |
84 if (swboard->reconn_timeout_h > 0) | |
85 purple_timeout_remove(swboard->reconn_timeout_h); | |
83 | 86 |
84 /* If it linked us is because its looking for trouble */ | 87 /* If it linked us is because its looking for trouble */ |
85 while (swboard->slplinks != NULL) | 88 while (swboard->slplinks != NULL) |
86 msn_slplink_destroy(swboard->slplinks->data); | 89 msn_slplink_destroy(swboard->slplinks->data); |
87 | 90 |