lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 6 Apr 2014, at 15:50, Milind Gupta <milind.gupta@gmail.com> wrote:

>          How should I go about cleanly closing a lua state after a string load error.


Can you write a simple piece of code to demonstrate the problem?

Our product, using Lua 5.2, does this successfully (i.e. error in inner state followed by lua_close of inner state with no app crash), often with 10+ errors daily.

Thanks,
Kevin