Another loop with deleting.
...unsure how maintained this file will be.
This commit is contained in:
+2
-2
@@ -1054,8 +1054,8 @@ namespace
|
|||||||
lua_call( L, iArgs, LUA_MULTRET );
|
lua_call( L, iArgs, LUA_MULTRET );
|
||||||
int iVals = lua_gettop(L);
|
int iVals = lua_gettop(L);
|
||||||
|
|
||||||
FOREACH( LuaThreadVariable *, apVars, v )
|
for (LuaThreadVariable *v : apVars)
|
||||||
delete *v;
|
delete v;
|
||||||
return iVals;
|
return iVals;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user