aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
author3 <NotZed@Ximian.com>2001-10-04 02:48:47 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-04 02:48:47 +0800
commitcb9d644a2ee55614b35dfdec6a7731db4ed1e35c (patch)
treed1295be217eec4ccb631c1d28e9b68d7f034f6a9 /mail/mail-folder-cache.c
parent636b05ecb88932f28ef2d1829da2b40ebcfb6253 (diff)
downloadgsoc2013-evolution-cb9d644a2ee55614b35dfdec6a7731db4ed1e35c.tar.gz
gsoc2013-evolution-cb9d644a2ee55614b35dfdec6a7731db4ed1e35c.tar.zst
gsoc2013-evolution-cb9d644a2ee55614b35dfdec6a7731db4ed1e35c.zip
Dont wait for event to finish before returning. This could however mean we
2001-10-03 <NotZed@Ximian.com> * mail-folder-cache.c (folder_changed): Dont wait for event to finish before returning. This could however mean we process it after things have vanished below us? Fixes another case of ctrl-d deadlock. * mail-ops.c (remove_folder_get): Freeze/thaw around deleting all messages in folder. svn path=/trunk/; revision=13382
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 5d5f81e2a9..3212fce3ff 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -196,7 +196,8 @@ folder_changed(CamelObject *o, gpointer event_data, gpointer user_data)
return;
d(printf("Fodler changed!\n"));
- mail_msg_wait(mail_proxy_event((CamelObjectEventHookFunc)real_folder_changed, o, NULL, mfi));
+ /* hopefully our mfi isn't lost while this is executing ... */
+ mail_proxy_event((CamelObjectEventHookFunc)real_folder_changed, o, NULL, mfi);
}
static void