public void ServerTerminate() { flowForm.AppendExcelLog("RtdServer terminated"); rtdUpdateEvent = null; if (lsClient != null) { lsClient.Stop(); } lsClient = null; if (rtdUpdateEvent != null) { rtdUpdateEvent.Disconnect(); } updateQueue.Clear(); topicIdMap.Clear(); reverseTopicIdMap.Clear(); }
public void ServerTerminate() { if (null != m_timer) { m_timer.Dispose(); m_timer = null; } if (rtdUpdateEvent != null) { rtdUpdateEvent.Disconnect(); rtdUpdateEvent = null; } updateQueue.Clear(); topicIdMap.Clear(); reverseTopicIdMap.Clear(); m_userId = null; provider = null; }