aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-tp-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 3a2f71df1..141c20ffe 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,