diff options
Diffstat (limited to 'testes/gc.lua')
-rw-r--r-- | testes/gc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/gc.lua b/testes/gc.lua index 61b5da9c..8bacffa0 100644 --- a/testes/gc.lua +++ b/testes/gc.lua | |||
@@ -504,7 +504,7 @@ end | |||
504 | do | 504 | do |
505 | collectgarbage() | 505 | collectgarbage() |
506 | collectgarbage"stop" | 506 | collectgarbage"stop" |
507 | collectgarbage("step", 0) -- steps should not unblock the collector | 507 | collectgarbage("step") -- steps should not unblock the collector |
508 | local x = gcinfo() | 508 | local x = gcinfo() |
509 | repeat | 509 | repeat |
510 | for i=1,1000 do _ENV.a = {} end -- no collection during the loop | 510 | for i=1,1000 do _ENV.a = {} end -- no collection during the loop |