diff options
Diffstat (limited to '')
-rw-r--r-- | testes/gc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testes/gc.lua b/testes/gc.lua index 5b39bac1..3f8143b1 100644 --- a/testes/gc.lua +++ b/testes/gc.lua | |||
@@ -65,10 +65,11 @@ do print("steps") | |||
65 | return i -- number of steps | 65 | return i -- number of steps |
66 | end | 66 | end |
67 | 67 | ||
68 | collectgarbage"stop" | ||
69 | 68 | ||
70 | if not _port then | 69 | if not _port then |
70 | collectgarbage"stop" | ||
71 | assert(dosteps(10) < dosteps(2)) | 71 | assert(dosteps(10) < dosteps(2)) |
72 | collectgarbage"restart" | ||
72 | end | 73 | end |
73 | 74 | ||
74 | end | 75 | end |