Merge pull request #778 from Elv13/dummy2
Call collectgarbage() more often This may or may not fix a random test failure on Travis with LuaJIT (5.1).
This commit is contained in:
commit
e8c7e573cb
|
@ -31,6 +31,7 @@ local function collectable(a, b, c, d, e, f, g, h, last)
|
|||
end
|
||||
collectgarbage("collect")
|
||||
collectgarbage("collect")
|
||||
collectgarbage("collect")
|
||||
-- Check if the table is now empty
|
||||
for _, v in pairs(objs) do
|
||||
print("Some object was not garbage collected!")
|
||||
|
|
Loading…
Reference in New Issue