GC test was not restarting collector after pause
This commit is contained in:
@@ -65,10 +65,11 @@ do print("steps")
|
|||||||
return i -- number of steps
|
return i -- number of steps
|
||||||
end
|
end
|
||||||
|
|
||||||
collectgarbage"stop"
|
|
||||||
|
|
||||||
if not _port then
|
if not _port then
|
||||||
|
collectgarbage"stop"
|
||||||
assert(dosteps(10) < dosteps(2))
|
assert(dosteps(10) < dosteps(2))
|
||||||
|
collectgarbage"restart"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user