From 1e251f23e6902f9df8b3511dfff61ade6abd1bfc Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 4 Sep 2001 21:52:00 +0000 Subject: [Fix #7542, "Crash Afer Closing".] * component-factory.c (owner_unset_cb): NULL the global_shell_client as the first thing here. Otherwise we might get into a slight race that causes the shell to crash. [Still, of course the shell shouldn't crash, but I haven't been able to track that down yet.] svn path=/trunk/; revision=12605 --- mail/ChangeLog | 10 ++++++++++ mail/component-factory.c | 2 ++ 2 files changed, 12 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index ca4798725c..44d73b4a8f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,13 @@ +2001-09-04 Ettore Perazzoli + + [Fix #7542, "Crash Afer Closing".] + + * component-factory.c (owner_unset_cb): NULL the + global_shell_client as the first thing here. Otherwise we might + get into a slight race that causes the shell to crash. [Still, of + course the shell shouldn't crash, but I haven't been able to track + that down yet.] + 2001-09-04 Zbigniew Chyla Fixes #7251 diff --git a/mail/component-factory.c b/mail/component-factory.c index 778e6b2be3..44b5aa6895 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -689,6 +689,8 @@ idle_quit (gpointer user_data) static void owner_unset_cb (EvolutionShellComponent *shell_component, gpointer user_data) { + global_shell_client = NULL; + if (mail_config_get_empty_trash_on_exit ()) empty_trash (NULL, NULL, NULL); -- cgit