"Simon Marlow" <[EMAIL PROTECTED]> writes:
> I think what's going on here is that the finalizer for stdout is running
> before your finalizer, and since stdout has already been closed it can't
> print out the message :-)
How is is possible for stdout to be finalised before putStrLn has run?
Surely the closure for the putStrLn action holds a reference to stdout,
so stdout should remain live and not-GCed until after the putStrLn
has completed?
Regards,
Malcolm
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc