mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
bfbff3703e
When closing variables during 'coroutine.close' or 'lua_resetthread', the status of a coroutine must be set to LUA_OK; a coroutine should not run with any other status. (See assertion in 'lua_callk'.) After the reset, the status should be kept as normal, as any error was already reported.