Don't grab the connect_lock before calling refresh_info so that we avoid
authorJeffrey Stedfast <fejj@novell.com>
Fri, 16 Jul 2004 17:11:11 +0000 (17:11 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Fri, 16 Jul 2004 17:11:11 +0000 (17:11 +0000)
2004-07-15  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap/camel-imap-folder.c (imap_transfer_online): Don't
grab the connect_lock before calling refresh_info so that we avoid
the deadlock in bug #61551.

camel/ChangeLog
camel/providers/imap/camel-imap-folder.c

index 5727710..80a6647 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-15  Jeffrey Stedfast  <fejj@novell.com>
+
+       * providers/imap/camel-imap-folder.c (imap_transfer_online): Don't
+       grab the connect_lock before calling refresh_info so that we avoid
+       the deadlock in bug #61551.
+
 2004-07-14  Jeffrey Stedfast  <fejj@novell.com>
 
        Fix for bug #61538
index d2da841..f7a33e6 100644 (file)
@@ -1481,11 +1481,9 @@ imap_transfer_online (CamelFolder *source, GPtrArray *uids,
                return;
 
        /* Make the destination notice its new messages */
-       CAMEL_SERVICE_LOCK (store, connect_lock);
        if (store->current_folder != dest ||
            camel_folder_summary_count (dest->summary) == count)
                camel_folder_refresh_info (dest, ex);
-       CAMEL_SERVICE_UNLOCK (store, connect_lock);
        
        if (delete_originals) {
                for (i = 0; i < uids->len; i++)