Niklas Sorensson wrote:


Arjan van IJzendoorn wrote: > I couldn't get finalisers to work either with the newForeignPtr from > this module. I didn't know how to create a proper FunPtr. In > Foreign.Concurrent there is a newForeignPtr that is easier to use: > [deleted]


I seem to remeber running in to this problem a couple of years ago,
and if I remember correctly, I came to the conclusion that finalizers do
run at the end of the program, but *after* standard input is closed.


Yes, you are right. Thanks for the idea. Checked under GHC 6.2.

--
Gracjan

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to