Skip to content

Commit d5e1b7b

Browse files
authored
Merge branch 'development' into ModuleMan
2 parents d0502b5 + 6ed5e0a commit d5e1b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Managers/LuaMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ namespace RTE {
11091109
g_ThreadMan.GetPriorityThreadPool().submit([luaState]() {
11101110
ZoneScopedN("Lua Garbage Collection");
11111111
std::lock_guard<std::recursive_mutex> lock(luaState->GetMutex());
1112-
lua_gc(luaState->GetLuaState(), LUA_GCSTEP, 30);
1112+
lua_gc(luaState->GetLuaState(), LUA_GCCOLLECT, 0); // we'd use GCSTEP but fuck lua it's trash
11131113
lua_gc(luaState->GetLuaState(), LUA_GCSTOP, 0);
11141114
})
11151115
);

0 commit comments

Comments
 (0)