fix event leak bug 11107
authorChad Peckham <chad.peckham@nokia.com>
Thu, 15 Apr 2010 12:28:26 -0500
changeset 1215 657de0649d83
parent 1214 06a09271e612
child 1218 2c56cf4ec790
fix event leak bug 11107
connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ConnectionImpl.cpp
--- a/connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ConnectionImpl.cpp	Thu Apr 15 09:49:37 2010 -0500
+++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ConnectionImpl.cpp	Thu Apr 15 12:28:26 2010 -0500
@@ -175,6 +175,11 @@
 		::CloseHandle(m_hMessageProcessorStoppedEvent);
 	}
 
+	if (m_hMessageProcessorStartedEvent != NULL)
+	{
+		::CloseHandle(m_hMessageProcessorStartedEvent);
+	}
+
 	if (m_ConnectSettings)
 		delete m_ConnectSettings;