From 9ecac8eeb3165ff019c631eb7e5a20943c0cd660 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 29 Jan 2016 09:46:27 +0100 Subject: [IMAPx] Remove runtime check from imapx_conn_manager_dec_mailbox_hash() This could cause confusing runtime warnings when trying to handle IDLE marks for mailboxes, when two threads were stopping IDLE call on one connection. --- camel/providers/imapx/camel-imapx-conn-manager.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/camel/providers/imapx/camel-imapx-conn-manager.c b/camel/providers/imapx/camel-imapx-conn-manager.c index 052080ef8..6de849d45 100644 --- a/camel/providers/imapx/camel-imapx-conn-manager.c +++ b/camel/providers/imapx/camel-imapx-conn-manager.c @@ -413,8 +413,6 @@ imapx_conn_manager_dec_mailbox_hash (CamelIMAPXConnManager *conn_man, count = GPOINTER_TO_INT (g_hash_table_lookup (mailboxes_hash, mailbox)); if (!count) { g_mutex_unlock (&conn_man->priv->busy_mailboxes_lock); - g_warn_if_fail (count > 0); - return; } -- cgit v1.2.1