lua-users home
lua-l archive

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


Hi All,
 
From what I understand from the archives and my own testing, there is no way for an object (table) to catch the GC?
 
The reason for wanting to do this is for use with Luacom.  Some COM objects need to have their Quit (or whatever) method called before you dispose of them.
 
So is there anyway to catch the __gc without resorting to userdata?
 
Mike