From 1ff9b568baba4d2f3e2445e63f6f68c840b20a88 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 11 Mar 2008 12:22:58 +0000 Subject: [PATCH] Do not close the channel if the channel is invalidated svn path=/trunk/; revision=767 --- libempathy/empathy-tp-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 3a2f71df..141c20ff 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -467,7 +467,7 @@ tp_chat_finalize (GObject *object) { EmpathyTpChatPriv *priv = GET_PRIV (object); - if (priv->acknowledge) { + if (priv->acknowledge && priv->channel) { empathy_debug (DEBUG_DOMAIN, "Closing channel..."); tp_cli_channel_call_close (priv->channel, -1, tp_chat_async_cb, -- 2.39.2