Running a "final" finaliser

Adrian Hey ahey at
Wed Dec 31 09:22:45 EST 2003

On Wednesday 31 Dec 2003 8:56 am, Adrian Hey wrote:
> The problem is I get a "fail: <<loop>>" error if no garbage collection
> has occured when killLibRef is called (I.E. killLibRef saves shutDownLibXYZ
> for later use because the reference count is non-zero).

Sorry, I should clarify this. The error does not occur when
killLibRef is called, it occurs sometime after that (during
the final rts cleanup and execution of any outstanding
finalisers I guess).

Adrain Hey

More information about the Glasgow-haskell-users mailing list