[Gtk-sharp-list] General Question

Mike Kestner mkestner@speakeasy.net
Sun, 27 Jul 2003 19:02:26 -0500


On Sun, 2003-07-27 at 16:26, Todd Berman wrote:

> This is not the only place I have been receiving this error. It is also
> possible to get it from clicking around. I can't seem to find any
> rational explanation other than the mono GC is disposing of the object
> before g_object_unref gets to it.

This is most likely related to the new ref management code.  Can you put
a WriteLine before the g_object_unref call in glib/Object.c
(PerformQueuedUnrefs) to dump out the object type and try to determine
which method/ctor creates the wrapper object that is being disposed?

Thanks,
-- 
Mike Kestner <mkestner@speakeasy.net>