Originally Posted by Seerah
I always use two parameters for a pairs loop. Give that a try. Can't think right now and have to run, there would be another way to do it if that won't work.
Oh - and DON'T force the garbage collector to run.
|
I love how when I show someone how to do things they thought impossible, and include examples and reference links, you blindly state not to. I wish I could give you a gold star for your helpfulness.
--
Sorry I didn't explicitly state it (although it is in the manual I linked), but all references to data must be dereferenced before the memory is freed.