From: Peter G. <pg...@gm...> - 2009-03-26 01:45:52
|
> 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 |