[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Thread defs
- From: Mike Pall <mikelu-0509@...>
- Date: Mon, 26 Sep 2005 13:26:03 +0200
> And one more question: where should I call luai_userstatefree
> luai_userstateopen function is called from lua_newstate.
> May be place luai_userstatefree in lua_close?
You don't need it for LuaThreads (though a future version could
probably make good use of it). AFAIK it's only used by Coco.
But you are right, luai_userstatefree() is missing in luaE_freethread.
This is a known bug in Lua 5.1 alpha: