lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
       I am trying to debug a situation where I have a table A referred to in a weak value table B and also in another data structure C. I then delete A from the data structure C. I then run collectgarbage(). Now I am expecting table A to disappear from table B but it is still there. 
       So it means that A is also somewhere else. Is there a way to see which references are preventing A from being garbage collected?

Thanks,
Milind