Re: [python-win32] Memory Leak in Threaded COM Object

2013-05-06 Thread Mark Hammond
On 4/05/2013 8:04 AM, Michael Watson wrote: I am creating a COM client within a thread and performing several operations with this client. Each thread is spawned from a server that uses Python's |socketserver| module which has built-in threading support. When I am loading and using this COM obje

Re: [python-win32] Memory Leak in Threaded COM Object [SEC=UNOFFICIAL]

2013-05-05 Thread Andrew MacIntyre
Stab in the dark: after calling the Clear() method on object "tom" in method CreateTom, use "del tom" or "tom = None" to try and lose any remnant COM references before pythoncom.CoUninitialize() is called. -> "These thoughts are mine alone!" <- Andrew MacIntyre