We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents faf401c + 6ed5e0a commit 0a8ae1aCopy full SHA for 0a8ae1a
Source/Managers/LuaMan.cpp
@@ -1111,7 +1111,7 @@ namespace RTE {
1111
g_ThreadMan.GetPriorityThreadPool().submit([luaState]() {
1112
ZoneScopedN("Lua Garbage Collection");
1113
std::lock_guard<std::recursive_mutex> lock(luaState->GetMutex());
1114
- lua_gc(luaState->GetLuaState(), LUA_GCSTEP, 30);
+ lua_gc(luaState->GetLuaState(), LUA_GCCOLLECT, 0); // we'd use GCSTEP but fuck lua it's trash
1115
lua_gc(luaState->GetLuaState(), LUA_GCSTOP, 0);
1116
})
1117
);
0 commit comments