public void Stop() { if (!m_isStarted) { throw new InvalidOperationException(); } m_isStarted = false; m_replyChannel.Close(); m_thread.Join(); }
public void Stop() { if (!m_isStarted) { throw new InvalidOperationException(); } m_isStarted = false; WsHttpMessageProcessor.StopProcessing(); m_replyChannel.Close(); m_thread.Join(); }