public void EndSession() { if (!m_WasSearching) { return; } m_WasSearching = false; m_Api?.EndSession(context); context = null; }
public void EndSession() { if (!m_WasSearching) { return; } m_WasSearching = false; using (new SearchSessionOptionsApplicator(m_Api, m_Options)) m_Api?.EndSession(context); context = null; m_Options = SearchSessionOptions.Default; }