Refactor code in world-core that spawns threads
This commit is contained in:
@@ -664,6 +664,8 @@ public:
|
||||
template<class... SS>
|
||||
LuaExtStack(const LuaCoreStack &LS0, SS & ... stackslots) : LuaCoreStack(LS0.state(), stackslots...) {}
|
||||
|
||||
int oldtop() const { return oldtop_; }
|
||||
|
||||
~LuaExtStack() {
|
||||
if (!lua_isthrowing(L_)) {
|
||||
lua_settop(L_, oldtop_);
|
||||
|
||||
Reference in New Issue
Block a user