[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Pnet-developers] Destructors are not being called - bug or usage er
From: |
Thong (Tum) Nguyen |
Subject: |
RE: [Pnet-developers] Destructors are not being called - bug or usage error? |
Date: |
Sat, 15 May 2004 05:02:17 +1200 |
Hi :)
It's fixed and in the CVS.
It's a tricky issue. The CVM stack can still hold values and has to be
freed or cleared before calling finding finalizable objects. On single
threaded systems, the CVM stack can't be cleared because it is shared by the
finalizer thread. On those systems, I zero the CVM stack and framestack.
It should be noted that because we're using a conservative GC, not all
finalizable objects will necessarily be finalized and the specs don't
require them all be finalized either.
All the best,
^Tum
> -----Original Message-----
> From: Gopal V [mailto:address@hidden
> Sent: Saturday, 15 May 2004 2:19 a.m.
> To: David Logan; address@hidden
> Subject: Re: [Pnet-developers] Destructors are not being called - bug or
> usage error?
>
> Hi,
>
> > I am not sure what you mean by this. I discovered it
> > in my attempt to
> > write a M$ and Linux compatible app. Roughly, I
> > have:
>
> All these variables are in the main() ?. Because that
> is the scenario where I encounter this problem ..
>
> > At program termination, neither Form1.Dispose(bool)
> > nor ~GlobalSettings is getting called.
>
> I wonder if Tum has any answers ... better wait till
> he wakes up :)
>
> > I was counting on it to make sure that
> > GlobalSettings was written to a file.
>
> Hmm..... will think about it a bit ..
>
> Gopal
>
>
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! - Internet access at a great low price.
> http://promo.yahoo.com/sbc/
> _______________________________________________
> Pnet-developers mailing list
> address@hidden
> http://dotgnu.org/mailman/listinfo/pnet-developers
- [Pnet-developers] Destructors are not being called - bug or usage error?, David Logan, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Gopal V, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Gopal V, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Rhys Weatherley, 2004/05/14
- RE: [Pnet-developers] Destructors are not being called - bug or usage error?, Thong (Tum) Nguyen, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, David Logan, 2004/05/15
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Norbert Bollow, 2004/05/16
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Rhys Weatherley, 2004/05/16
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Norbert Bollow, 2004/05/17
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Carl-Adam Brengesjo, 2004/05/16
- RE: [Pnet-developers] Destructors are not being called - bug or usage error?, Thong (Tum) Nguyen, 2004/05/16