This commit is contained in:
FlightControl
2016-12-14 06:58:24 +01:00
parent 02d4bbf3ff
commit 761053c95e
10 changed files with 137 additions and 103 deletions

View File

@@ -42,24 +42,19 @@ end
do
local Test1 = TEST_BASE:New( "Hello World Test 1" )
collectgarbage()
Test1 = nil
collectgarbage()
BASE:E( Test1 )
end
collectgarbage()
local Test2 = TEST_BASE:New( "Hello World Test 2" )
collectgarbage()
BASE:E( Test2 )
local Test3 = TEST_BASE:New( "Hello World Test 3" )
Test3 = nil
BASE:E( Test3 )
collectgarbage()
BASE:E( Test3 )
BASE:E( "Collect Garbage executed." )
BASE:E( "You should only see a Hello Worlld message for Test 2!" )
BASE:E( "Check if Test 1 and Test 3 are garbage collected!" )