1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

GC test was not restarting collector after pause

This commit is contained in:
Roberto Ierusalimschy
2024-06-18 17:14:23 -03:00
parent aaf3533653
commit 97ef8e7bd4
+2 -1
View File
@@ -65,10 +65,11 @@ do print("steps")
return i -- number of steps
end
collectgarbage"stop"
if not _port then
collectgarbage"stop"
assert(dosteps(10) < dosteps(2))
collectgarbage"restart"
end
end