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:
Emmanuel Lepage Vallée 2016-03-27 17:05:02 -04:00
commit e8c7e573cb
1 changed files with 1 additions and 0 deletions

View File

@ -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!")