lua-users home
lua-l archive

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


King, Mike wrote:
Why is it that COM objects are not gc'ed (Released) when Lua exits?


Well, they are. Under which circumstances it is failing to release your objects??

For instance, this test script instances a COM object of mine, which shows a message box when it is finally released, and it works fine:

require"luacom"

a = luacom.CreateObject("foo.bar")

when the script ends, I got my message box as intended.


Regards,
Ignacio Burgueño