gc

gc() → nil

Esegue una garbage collection manuale.

Esempio 1. Esempio gc

print("gc type: " .. type(gc))
gc()  -- run collection
print("gc() called: OK")