GC test was not restarting collector after pause
This commit is contained in:
1 parent
aaf3533653
commit
97ef8e7bd4
1 file changed
+2
-1
+2
-1
@@ -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