Remove the folder locks in refresh info. It deadlocks while resyncing in
authorSrinivasa Ragavan <sragavan@novell.com>
Wed, 30 Jul 2008 09:06:47 +0000 (09:06 +0000)
committerSrinivasa Ragavan <sragavan@src.gnome.org>
Wed, 30 Jul 2008 09:06:47 +0000 (09:06 +0000)
2008-07-30  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder.c: Remove the folder locks in refresh info. It
deadlocks while resyncing in IMAP.

svn path=/trunk/; revision=9229

camel/ChangeLog
camel/camel-folder.c

index ca1bc07..a005eed 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-30  Srinivasa Ragavan  <sragavan@novell.com>
+
+       * camel/camel-folder.c: Remove the folder locks in refresh info. It
+       deadlocks while resyncing in IMAP.
+
 2008-07-29  Srinivasa Ragavan  <sragavan@novell.com>
 
        ** Fix for bug #545099
index b6303e1..13740ba 100644 (file)
@@ -334,11 +334,7 @@ camel_folder_refresh_info (CamelFolder *folder, CamelException *ex)
 {
        g_return_if_fail (CAMEL_IS_FOLDER (folder));
 
-       CAMEL_FOLDER_REC_LOCK(folder, lock);
-
        CF_CLASS (folder)->refresh_info (folder, ex);
-       
-       CAMEL_FOLDER_REC_UNLOCK(folder, lock);
 }
 
 static int