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

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