[Gtk-sharp-list] Ref handling patch

Mike Kestner mkestner@ximian.com
Wed, 23 Jul 2003 12:21:00 -0500

I just committed a patch that Ettore Perazzoli and I have been bouncing
back and forth at each other for about a week now. Ettore had done some
instrumenting of a Gtk# app he wrote.  Gtk# used to leak like a sieve.

This patch gets us much closer to accurate ref handling.  Due to the
inconsistency in ref ownership in the gtk+ api, I'm confident it is not
perfect.  The old method leaked so much it was virtually crash-proof, so
getting rid of the leaks may make for a few more crashes until we work
out all the kinks. All the sample dir apps and monodoc run without
incident, AFAICT.

I encourage any developers with the means to do so to update gtk-sharp
to current cvs and test your programs with it.  If you encounter any
crashes, please try to reduce them to the simplest test case you can and
open bugs.

Mike Kestner <mkestner@ximian.com>