telepathy-idle: Don't try to ping while we're disconnecting.
Will Thompson
wjt at kemper.freedesktop.org
Fri Nov 2 04:56:49 PDT 2012
Module: telepathy-idle
Branch: master
Commit: 67b18831e0ea40dd3f4438426cfb0f703a3fc971
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=67b18831e0ea40dd3f4438426cfb0f703a3fc971
Author: Will Thompson <will.thompson at collabora.co.uk>
Date: Tue Oct 30 16:14:57 2012 +0000
Don't try to ping while we're disconnecting.
---
src/idle-connection.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/idle-connection.c b/src/idle-connection.c
index f4cf816..cb008c5 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -818,7 +818,8 @@ static gboolean keepalive_timeout_cb(gpointer user_data) {
gchar cmd[IRC_MSG_MAXLEN + 1];
gint64 now;
- if (priv->sconn_status != SERVER_CONNECTION_STATE_CONNECTED) {
+ if (priv->sconn_status != SERVER_CONNECTION_STATE_CONNECTED ||
+ priv->quitting) {
priv->keepalive_timeout = 0;
return FALSE;
}
More information about the telepathy-commits
mailing list