On Thu, 2009-03-19 at 16:34 -0700, Don Stewart wrote: > We must have the gtk2hs team invovled in this discussion. They were > using an undocumented feature. It may be trivial to fix.
> > > This will need to be fixed in gtk2hs. Previously GHC allowed finalizers > > > to call back into Haskell, but this was never officially supported. Now > > > it > > > is officially unsupported, because finalizers created via > > > Foreign.mkForeignPtr are run directly by the garbage collector. I had a quick look but so far I cannot see where any callback into Haskell is happening. The only interesting case I've found is one finaliser which is implemented in C and uses hs_free_stable_ptr. Duncan _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users