[Telepathy-commits] [telepathy-gabble/master] conn-requests: indicate why it is correct to refrain from calling close_all, disconnected, connecting, connected on channel managers
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Aug 20 09:38:29 PDT 2008
20080729172551-53eee-0c0f1cfa335050e2e238e91a1bbb1ff7ecb51799.gz
---
src/conn-requests.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/conn-requests.c b/src/conn-requests.c
index 0a3bb68..9197d3f 100644
--- a/src/conn-requests.c
+++ b/src/conn-requests.c
@@ -486,6 +486,9 @@ connection_status_changed (GabbleConnection *self,
guint reason,
gpointer unused G_GNUC_UNUSED)
{
+ /* We deliberately don't iterate over channel managers here -
+ * they don't need this, and are expected to listen to status-changed
+ * for themselves. */
/* cancel all queued channel requests when disconnected */
if (status == TP_CONNECTION_STATUS_DISCONNECTED)
--
1.5.6.3
More information about the Telepathy-commits
mailing list