Signal shutdown when imapx connection shutsdown so that the connection is
authorChenthill Palanisamy <pchenthill@novell.com>
Tue, 15 May 2012 08:25:57 +0000 (13:55 +0530)
committerChenthill Palanisamy <pchenthill@novell.com>
Tue, 15 May 2012 08:27:13 +0000 (13:57 +0530)
pruned from connection manager.

camel/camel-imapx-server.c

index b25aa2b..5afd519 100644 (file)
@@ -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;
 }