aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-05 05:52:00 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-05 05:52:00 +0800
commit1e251f23e6902f9df8b3511dfff61ade6abd1bfc (patch)
tree16ceb10abed997c91ec4e07b3d0f3dddcd2e4cc4 /mail/component-factory.c
parent159c872ddffbc294f219a4b3877f6d9d6a60b366 (diff)
downloadgsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.tar
gsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.tar.gz
gsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.tar.bz2
gsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.tar.lz
gsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.tar.xz
gsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.tar.zst
gsoc2013-evolution-1e251f23e6902f9df8b3511dfff61ade6abd1bfc.zip
[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
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c2
1 files changed, 2 insertions, 0 deletions
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);