[Mono-devel-list] About some object-drop actions (Finalizers and IDisposable)

yoros at wanadoo.es yoros at wanadoo.es
Mon Dec 1 15:04:18 EST 2003


I need to do some tasks befor a class is freed (at least when the
application ends) but I don't want any client interaction (IDispose
needs to explicit notice when a class is never used). I have a few
singleton classes and I want to serialize internal objects but I don't
want to depend of the clients of these classes. Is there any other way
to ensure the Finalizer execution (with GC class or something...) ?

Thank you,


Pedro Martínez Juliá
\  yoros at terra.es
)|    yoros at wanadoo.es
/        http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC

More information about the Mono-devel-list mailing list