Add test coverage to avoid silent breakage

This commit is contained in:
Thomas
2026-09-08 13:01:49 +02:00
parent dd5d7887d7
commit decf020ecd
7 changed files with 199 additions and 35 deletions
-1
View File
@@ -829,7 +829,6 @@ namespace LuaUtil
{
for (auto& [id, script] : data->mScripts)
{
// Computed and dropped: reading must not write. The next writer applies it.
stats[id].mAvgInstructionCount += decayedInstructionCount(script);
stats[id].mMemoryUsage += script.mStats.mMemoryUsage;
}