public void EndSession()
 {
     if (!m_WasSearching)
     {
         return;
     }
     m_WasSearching = false;
     m_Api?.EndSession(context);
     context = null;
 }
Beispiel #2
0
 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;
 }