fix event leak bug 11107 RCL_2_4
authorChad Peckham <chad.peckham@nokia.com>
Thu, 15 Apr 2010 12:34:48 -0500
branchRCL_2_4
changeset 1216 0b00d1889d73
parent 1213 f32ba88e7be8
child 1219 4881c5997074
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:46:23 2010 -0500
+++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ConnectionImpl.cpp	Thu Apr 15 12:34:48 2010 -0500
@@ -175,6 +175,11 @@
 		::CloseHandle(m_hMessageProcessorStoppedEvent);
 	}
 
+	if (m_hMessageProcessorStartedEvent != NULL)
+	{
+		::CloseHandle(m_hMessageProcessorStartedEvent);
+	}
+
 	if (m_ConnectSettings)
 		delete m_ConnectSettings;