Re: [Evolution-hackers] [Camel] When is the store "finalize()" called?
- From: Jules Colding <colding omesc com>
- To: Not Zed <notzed ximian com>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] [Camel] When is the store "finalize()" called?
- Date: Wed, 14 Sep 2005 10:04:43 +0200
On Tue, 2005-09-13 at 22:17 +0800, Not Zed wrote:
> How important is it?
Not really that important, more in the line of "If it was designed to be
called then it should be called"-issue. Nitpicking i guess.
> Exactly what are you requiring it for?
Freeing local resources.
> If you're using it to free remote resources, like connections, then this
> is the wrong place to do it. disconnect() is the place for these types
> of resource deallocations.
OK, I do that already.
> Otherwise, if it is just memory leaks, it just isn't important.
It is only due to memory leaks.
Regards,
jules
> On Tue, 2005-09-13 at 12:00 +0200, Jules Colding wrote:
> > On Tue, 2005-09-13 at 17:24 +0800, Not Zed wrote:
> > > No.
> > >
> > > Sync could be called at any time.
> > >
> > > I wasn't aware it was a known issue either, stores certainly used to be
> > > finalised at one point.
> >
> > Is this an issue that will be fixed in the 2.4 branch or has it to low
> > of a priority to fix unless there isn't anything else to hack on?
> >
> > Thanks,
> > jules
> >
> >
> >
> > > On Tue, 2005-09-13 at 11:24 +0200, Jules Colding wrote:
> > > > On Tue, 2005-09-13 at 03:15 -0600, Susarla Parthasarathi wrote:
> > > > > Thats a known issue. A little complicated to fix. But is surely fixable.
> > > > >
> > > > > So, none of the providers have their finalize method called.
> > > >
> > > > OK, thanks. I can see that the last method being called is sync().
> > > > Could/should I safely call finalize() from that one?
> > > >
> > > > Thanks,
> > > > jules
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Evolution-hackers mailing list
> > > > Evolution-hackers gnome org
> > > > http://mail.gnome.org/mailman/listinfo/evolution-hackers
> >
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]