Yeah. this is a major bug in ghc IMHO. I believe it has been fixed, but
am unsure. Since we can't rely on finalizers to run in general, some
sort of 'atexit' routine is needed. (which would be a good addition to
the standard libraries anyway)
John
--
John Meacham - ⑆repetae.net⑆john⑈