Re: [Mono-list] Finalizer never called

2003-08-01 Thread Gonzalo Paniagua Javier
El vie, 01-08-2003 a las 07:01, Giuseppe Greco escribió: Hi all, I've still the problem that the destructor (or finalizer) is never called... and this cause my applications to crash when exiting. Finalizers are not guaranteed to be called and if they are called, it may not be inmediately.

Re: [Mono-list] Finalizer never called

2003-08-01 Thread Giuseppe Greco
On Fri, 2003-08-01 at 11:18, Gonzalo Paniagua Javier wrote: El vie, 01-08-2003 a las 07:01, Giuseppe Greco escribi: Hi all, I've still the problem that the destructor (or finalizer) is never called... and this cause my applications to crash when exiting. Finalizers are not

Re: [Mono-list] Finalizer never called

2003-08-01 Thread Gonzalo Paniagua Javier
El vie, 01-08-2003 a las 11:31, Giuseppe Greco escribió: Finalizers are not guaranteed to be called and if they are called, it may not be inmediately. That would be OK... If one need the finalizer to be called immediately, he has just to call the Dispose() method (actually, that's my

Re: [Mono-list] Finalizer never called

2003-08-01 Thread Jonathan Pryor
snip/ A question: could really happen that a finalizer is never called? If so, how would managed resources be released? Is it possible for finalizers to never be called? Yes. Why? Because of this: class BadClass { ~BadClass () {

Re: [Mono-list] Finalizer never called

2003-08-01 Thread Giuseppe Greco
On Fri, 2003-08-01 at 13:58, Jonathan Pryor wrote: snip/ A question: could really happen that a finalizer is never called? If so, how would managed resources be released? Is it possible for finalizers to never be called? Yes. Why? Because of this: class BadClass {

[Mono-list] Finalizer never called

2003-07-31 Thread Giuseppe Greco
Hi all, I've still the problem that the destructor (or finalizer) is never called... and this cause my applications to crash when exiting. I'm using the very last version of Mono/mcs and I'm running a RedHat 9 box... Since I implement the IDisposable interface, the only way to get my apps exit