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.
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
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
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 () {
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 {
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