[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
Mon Nov 3 11:20:40 PST 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.5




More information about the Telepathy-commits mailing list