Re: C# destructor and finalizer - guarentees?
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Fri, 13 Oct 2006 22:43:09 +0100
<tstephan@xxxxxxxxx> wrote:
I remember reading a few years back about destructors not being
guarenteed to be run. Doing a search all I can find is a reference to
some bugs with finalizers and appdomains in 1.0 and 1.1. Are
destructors guarenteed to be called in every case? Are there any
pathological cases?
If you've got some finalizers which take a long time to run, others may
not get run as there's a time limit for running finalizers at the end
of an application process.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- References:
- C# destructor and finalizer - guarentees?
- From: tstephan
- C# destructor and finalizer - guarentees?
- Prev by Date: Re: Calculating daylight saving time automatically
- Next by Date: Re: Datagrid Question
- Previous by thread: C# destructor and finalizer - guarentees?
- Next by thread: Re: C# destructor and finalizer - guarentees?
- Index(es):