I am using LuaCOM to provide support for COM in scripts that run in my host application. If the script forgets to release objects before the lua state is closed, then I receive an Access Violation exception in the tCOMPtr destructor.
I'm not really sure what is causing the exception. Is this a bug in LuaCOM, or is there any "nice" way of preventing this from happening so that my host application doesn't crash due to this script error?
I am using LuaCOM to provide support for COM in scripts that run in my host application. If the script forgets to release objects before the lua state is closed, then I receive an Access Violation exception in the tCOMPtr destructor.
I'm not really sure what is causing the exception. Is this a bug in LuaCOM, or is there any "nice" way of preventing this from happening so that my host application doesn't crash due to this script error?
Call Stack: tLuaCOM.cpp: tCOMPtr::~tCOMPtr tLuaCOM.cpp: tLuaCOM::~tLuaCOM ... luacom.cpp: tagmeth_gc ... lua_close