Re: Handle leaks using CMS-3.1

2010-01-19 Thread diedie
connection = NULL; delete connectionFactory; connectionFactory = NULL; Sleep(2000); } activemq::library::ActiveMQCPP::shutdownLibrary(); } Regards, diedie Timothy Bish wrote: > > On Fri, 2010-01-15 at 00:32 -0800, diedie wrote: >&

Handle leaks using CMS-3.1

2010-01-15 Thread diedie
Hi, I recently upgraded my cms library from 3.0 to 3.1(built using vs-2005), and face some issues that handle leaks when reconnecting to server. So I wrote a simple testing program based on vs2005-activemq-example, and found that it occurs even I just create the connection and close it. Has an