Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Small question about Garbage collection — Gideros Forum

Small question about Garbage collection

DudDud Member
edited April 2012 in General questions
In a lot of the code snippets I have seen there are multiple calls to collect garbage like so

function gc()
collectgarbage()
collectgarbage()
collectgarbage()
collectgarbage()
end

I was just curious as to why this is done?

Comments

Sign In or Register to comment.