[evolution-data-server] Signal shutdown when imapx connection shutsdown so that the connection is pruned from connection man



commit 6992df26967b60d4b923d20263aec91bcd983d2c
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue May 15 13:55:57 2012 +0530

    Signal shutdown when imapx connection shutsdown so that the connection is
    pruned from connection manager.

 camel/camel-imapx-server.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index b25aa2b..5afd519 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -5340,8 +5340,7 @@ imapx_parser_thread (gpointer d)
 	QUEUE_UNLOCK (is);
 
 	is->parser_quit = FALSE;
-	if (is->state != IMAPX_SHUTDOWN)
-		g_signal_emit (is, signals[SHUTDOWN], 0);
+	g_signal_emit (is, signals[SHUTDOWN], 0);
 
 	return NULL;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]