
11 May
2007
11 May
'07
7:47 a.m.
Hi Neil, I've read about that but I thought that was only the case when using finalizers written in Haskell, not in C. Also, even when I remove the call to printf and replace it with an infinite loop or a piece of code that creates a file it doesn't seem to make any difference, the finalizer never gets called. Ivan On 11/05/2007, at 9:37 PM, Neil Davies wrote:
Ivan
If I remember correctly there is a caveat in the documentation that stdin/stdout could be closed when the finalizer is called. So It may be being called - you just can see it!
Neil