On Sat Oct 13 11:14:42 2007, pcoch wrote: > In src/exit.c:Parrot_exit() there is the todo item (with some context): > > /* call all the exit handlers */ > > TODO reset stacktop or better disable GC > > Make a decision as to which is better to do; reset stacktop or disable GC > and then implement as appropriate.
I'm trying to figure out exactly what needs to be done here, the comments in the function are a little cryptic. After all the exit handlers are called, we want to perform a finalizing GC run, to make sure all custom destructors are called on all PMCs? Or, is finalization called from somewhere else automatically? That, and what is meant here by "reset stacktop"? I have no idea what that's supposed to mean. -- Andrew Whitworth a.k.a Whiteknight