diff options
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/component-factory.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index bad929809b..de821302a1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2002-05-06 Not Zed <NotZed@Ximian.com> + + * component-factory.c (idle_quit): Check all threads are idle as + well, using new e_thread_busy call. Should fix #22553? Also + sleep a little bit, to let the other threads run. + 2002-05-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_new_text): Update the code to actually diff --git a/mail/component-factory.c b/mail/component-factory.c index 32adeb54c7..05e3bef466 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -837,8 +837,8 @@ idle_quit (gpointer user_data) static int shutdown_shutdown = FALSE; if (!shutdown_shutdown) { - if (mail_msg_active(-1)) { - /* short sleep? */ + if (e_thread_busy(NULL) || mail_msg_active(-1)) { + usleep(10000); return TRUE; } |