From f8688ca9cfa91e182d881f9bb25458945fc35194 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Wed, 7 Aug 2013 12:11:03 -0700 Subject: Updating Balau and test script to check proper destruction of loose objects. --- tests/test2.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/test2.lua b/tests/test2.lua index d023ba5..807e861 100644 --- a/tests/test2.lua +++ b/tests/test2.lua @@ -3,4 +3,9 @@ function test2() i:open() i:close() i:destroy() + + i = Input.new "tests/test1.lua" + i = nil + + collectgarbage() end -- cgit v1.2.3