[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Closing the Lua state before exiting
- From: Tim Channon <tc@...>
- Date: Tue, 10 Feb 2015 02:38:56 +0000
On 09/02/2015 05:53, Dirk Laurie wrote:
The manual for `os.exit` states:
If the optional second argument close is true, closes the Lua state before
1. Why would one want to do this?
2. Why would one not want to to do this every time?
Whilst I cannot answer as such ANSI C exit() executes a chain of exit
code if there is one. If a c lib has used this could that be involved?