refactoring: wrap lua_newthread using luaT_cpcall
Wrap throwing lua_newthread in luaT_newthread using luaT_cpcall to process arising error properly. Closes #4556 (cherry picked from commit 54e23d6d)
Showing
- src/box/lua/call.c 3 additions, 1 deletionsrc/box/lua/call.c
- src/lua/fiber.c 3 additions, 1 deletionsrc/lua/fiber.c
- src/lua/trigger.c 4 additions, 8 deletionssrc/lua/trigger.c
- src/lua/utils.h 30 additions, 0 deletionssrc/lua/utils.h
- third_party/lua-yaml/lyaml.cc 4 additions, 1 deletionthird_party/lua-yaml/lyaml.cc
Loading
Please register or sign in to comment