[Mono-list] Dispose method is never called

Gonzalo Paniagua Javier gonzalo@ximian.com
08 Jul 2003 20:52:14 +0200

El mar, 08-07-2003 a las 18:01, Giuseppe Greco escribió:
> >-- Original Message --
> >Date: Tue, 08 Jul 2003 08:45:03 -0700
> >From: "Richard Norman" <normri@samc.com>
> >To: <gius.greco@bluewin.ch>,<mono-list@lists.ximian.com>
> >Subject: Re: [Mono-list] Dispose method is never called
> >
> >
> >Sorry I missed the part where you said this works fine in Windows.
> > 
> >If this is working in Windows under the .NET Framework, then I would
> >look to see if the pattern for garbage collection is being followed by
> >Mono.
> > 
> >It could be one of two issues here. Either the .NET Framework is not
> >the "standard" spec, or the Mono garbage collection is not executing at
> >the appropriate times and executing the Finalizer properly.
> Mono doesn't execute the Finalizer at all. I've posted this problem
> to bugzilla.ximian.com. Look at bug #45962 and get the source code
> I've used to reproduce the problem (source code is attached as a tarball).
> Try to execute that small program either with .NET on Windows or with
> Mono on Linux, and you'll see the differences...

Fixed in CVS.