Пример #1
0
 public void Cleanup()
 {
     MessagePump.Instance.MainLoopRun -= InstanceOnMainLoopRun;
     VivoxCoreInstance.Uninitialize();
     lock (_pendingRequests)
     {
         _pendingRequests.Clear();
     }
     _startCount = 0;
 }
Пример #2
0
 public void Stop()
 {
     if (_startCount <= 0)
     {
         return;
     }
     --_startCount;
     if (_startCount != 0)
     {
         return;
     }
     MessagePump.Instance.MainLoopRun -= InstanceOnMainLoopRun;
     VivoxCoreInstance.Uninitialize();
 }
Пример #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                // Free any other managed objects here.
                //
            }

            // Free any unmanaged objects here.
            VivoxCoreInstance.Uninitialize();

            disposed = true;
        }
Пример #4
0
 public static void Cleanup()
 {
     VxClient.Instance.Stop();
     VivoxCoreInstance.Uninitialize();
 }