lua-users home
lua-l archive

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


On Tue, Mar 31, 2015 at 4:39 PM, Валерий Баканов <e881e@mail.ru> wrote:
> Good afternoon! I use Lua 5.3 to organize my personal API
> C-call (C++ Builder 6 32bits under Win'7 64 bits). This is my personal
> research project http://vbakanov.ru/spf@home/spf@home.htm
> in the field of parallel computing.
>
> I am creating a Lua state challenge luaL_newstate (...) and I want to
> release
> this state call lua_close (...); then the process luaL_newstate (...)
>  - Lua_close (...) I wish to repeat.
>
> The problem - call lua_close (...) does not destroy the state of the Lua
> (this
> proved calls lua_status (...) before and after lua_close (...) - In both
> 0 nourish cases - and this LUA_OK! ..

you are not allowed to apply lua_status to a closed Lua state.


Best regards,
Boris Nagaev