> 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.
>
> See
>
>    http://hackage.haskell.org/trac/ghc/ticket/1364

Oh boy..  we do this pretty much everywhere, and it's going to be hard to fix, 
because for most cases I think we only do it because the C API leaves no other 
way to do it.

So, in other words, it'll take a while to fix it.

Pete

------------------------------------------------------------------------------
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to