[telepathy-mission-control/master] McdConnection: mark connections' dispatching as not started when releasing TpConnection

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Jun 3 09:22:06 PDT 2009


Otherwise we get an assertion failure after reconnecting, because the
McdDispatcher tells us to start dispatching again.
---
 src/mcd-connection.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index b576daa..35dc25d 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -1505,6 +1505,8 @@ _mcd_connection_release_tp_connection (McdConnection *connection)
 
     if (priv->recognized_presences)
         g_hash_table_remove_all (priv->recognized_presences);
+
+  priv->dispatching_started = FALSE;
 }
 
 static void
-- 
1.5.6.5




More information about the telepathy-commits mailing list