Re: [Evolution-hackers] Workaround for 68533



On Wed, 2004-10-20 at 12:31 -0400, David Malcolm wrote:
> I've been trying to ensure that evolution-data-server goes away when the
> user's session ends, but have been running into this problem:
> http://bugzilla.ximian.com/show_bug.cgi?id=68533
> 
> So it seems that the ECalBackends are never finalized, and so the
> anniversaries backend keeps alive the EDataBook for the local contacts,
> and hence e-d-s keeps itself alive.
> 
> Attached is a dubious workaround I've been trying.  On the assumption
> that there will always be a leaked ECalBackend keeping an addressbook
> alive, it allows e-d-s to quit when there are no calendars and a
> _single_ addressbook around.  

>From the looks of code, it seems birthdays calendar backend loads all
local address books , so the assumption that only one addr book backend
is alive may not be correct. Also this change introduces a bug where
e-d-s will never go down if birthdays calendar backend is not loaded (i
think this can potentially happen if that is not checked in evo or it is
removed). 

> Seems to work: I've tested on FC3, with various combinations of
> running/not running Evolution and the panel clock, with various
> calendars/addressbooks etc, and with evolution-alarm-notify.  e-d-s now
> goes away sanely, but it's a fairly dubious hack.  
> 
> Thoughts?  Flames?
> 
> Dave



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]