diff options
author | Milan Crha <mcrha@redhat.com> | 2012-08-08 17:27:30 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-08-08 17:27:30 +0800 |
commit | e45c63f52b1d01bb5b721905d1c68451dbb94303 (patch) | |
tree | 0125f9c95ff44ffa59200390b7351a91fd6e1fb0 /mail | |
parent | 7209dc107a868e084d83817b5df303309918ac74 (diff) | |
download | gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.tar gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.tar.gz gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.tar.bz2 gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.tar.lz gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.tar.xz gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.tar.zst gsoc2013-evolution-e45c63f52b1d01bb5b721905d1c68451dbb94303.zip |
Bug #677695 - Crash on quit under emu_free_mail_cache()
This is reverting previous patch for this bug and fixes it with
a different approach. The previous patch had regression, instead
of freezing evolution on quit it crashed it when there was pending
addressbook lookups.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index 164e5a090d..e706d5571e 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -270,7 +270,7 @@ mail_backend_poll_to_quit (EActivity *activity) static void mail_backend_ready_to_quit (EActivity *activity) { - emu_free_mail_cache (); + emu_free_mail_cache (g_object_unref, g_object_ref (activity)); /* Do this last. It may terminate the process. */ g_object_unref (activity); |