|
> So, yes, I did have some extra stuff on the __gc method. Is it guaranteed by Lua that all __gc's are called when a script exit-returns? Or is just a random trait of the current implementation? On exit() and flushing the C buffers, as Roberto noted, the c library does this in exit().