Re: [5.1.4/newbie] How to check end script?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [5.1.4/newbie] How to check end script?
- From: Axel Kittenberger <axkibe@...>
- Date: Tue, 8 Mar 2011 15:35:58 +0100
> 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().