aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-07-17 01:11:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-07-17 01:11:11 +0800
commit1db91f63b845278324844db6e016008fcf896a92 (patch)
tree8d3b6d9d815bdd0673517c3bbc50ecedaa6ce61c
parent230dd59a435687338ca6bd5ff72adc1abc9b8d97 (diff)
downloadgsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.tar
gsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.tar.gz
gsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.tar.bz2
gsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.tar.lz
gsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.tar.xz
gsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.tar.zst
gsoc2013-evolution-1db91f63b845278324844db6e016008fcf896a92.zip
Don't grab the connect_lock before calling refresh_info so that we avoid
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. svn path=/trunk/; revision=26668
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
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 <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
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++)