From 1db91f63b845278324844db6e016008fcf896a92 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 16 Jul 2004 17:11:11 +0000 Subject: Don't grab the connect_lock before calling refresh_info so that we avoid 2004-07-15 Jeffrey Stedfast * 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. svn path=/trunk/; revision=26668 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 5727710356..80a664716a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2004-07-15 Jeffrey Stedfast + + * 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 Fix for bug #61538 diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index d2da841599..f7a33e6ab4 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -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++) -- cgit v1.2.3