private void Destroy() { if (m_state == State.Delaying) { CancelTimer(ReconnectTimerId); } m_pgmSocket.Dispose(); RemoveSocket(m_socket); }
private void Destroy() { if (m_state == State.Delaying) { CancelTimer(ReconnectTimerId); } m_pgmSocket.Dispose(); RemoveSocket(m_socket); m_encoder.SetMsgSource(null); }