[Mono-dev] Finalizers in CriticalHandle

Rodrigo Kumpera kumpera at gmail.com
Mon Jan 17 13:00:30 EST 2011

On Mon, Jan 17, 2011 at 5:19 PM, Dick Porter <dporter at codicesoftware.com>wrote:

> On Fri, 2011-01-14 at 17:26 +0100, Rodrigo Kumpera wrote:
> > I suppose it is. Does .NET call Release on finalizer?
> I've no idea, but is there any reason why it shouldn't?  It is after all
> supposed to be there for cleaning up unmanaged resources.

I'm not sure what the defined behavior is on this case, MSDN is not always
accurate and we
need to be as compatible with MS as possible.

Could you please write a test case, and if the behavior you suggest is
correct, send a patch
which includes both the fix and the test case so we can move forward?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110117/7413bf38/attachment.html 

More information about the Mono-devel-list mailing list