rnd gc for fuzz tests

This commit is contained in:
BlackMATov
2025-08-15 23:48:05 +07:00
parent 3f7ab3cf4d
commit 0e6f23d30b
5 changed files with 53 additions and 7 deletions
+8 -1
View File
@@ -123,5 +123,12 @@ end
---
---
if math.random(1, 2) == 1 then
evo.collect_garbage()
end
evo.destroy(__table_unpack(all_entity_list))
evo.collect_garbage()
if math.random(1, 2) == 1 then
evo.collect_garbage()
end