private void DoDispose() { DataFeed feed = m_feed; m_feed = null; if ((null != feed) && IsInitialized) { feed.Stop(); feed.Dispose(); } m_continue = false; m_event.Set(); if (null != m_thread) { m_thread.Join(); m_thread = null; } }