[Telepathy-commits] [telepathy-gabble/master] GabbleRoomlistChannel: set priv->closed before emitting closed, so we don't indicate that we're about to respawn

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 3 11:20:48 PST 2008


20080805140451-53eee-de9a2b5705617289393a940bcdcdfe2d38a550cc.gz
---
 src/roomlist-channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/roomlist-channel.c b/src/roomlist-channel.c
index 0a68bd3..911d540 100644
--- a/src/roomlist-channel.c
+++ b/src/roomlist-channel.c
@@ -411,8 +411,8 @@ gabble_roomlist_channel_dispose (GObject *object)
 
   if (!priv->closed)
     {
-      tp_svc_channel_emit_closed ((TpSvcChannel *) object);
       priv->closed = TRUE;
+      tp_svc_channel_emit_closed ((TpSvcChannel *) object);
     }
 
   g_assert (priv->pending_room_signals != NULL);
-- 
1.5.6.5




More information about the Telepathy-commits mailing list