public void Cleanup() { MessagePump.Instance.MainLoopRun -= InstanceOnMainLoopRun; VivoxCoreInstance.Uninitialize(); lock (_pendingRequests) { _pendingRequests.Clear(); } _startCount = 0; }
public void Stop() { if (_startCount <= 0) { return; } --_startCount; if (_startCount != 0) { return; } MessagePump.Instance.MainLoopRun -= InstanceOnMainLoopRun; VivoxCoreInstance.Uninitialize(); }
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; }
public static void Cleanup() { VxClient.Instance.Stop(); VivoxCoreInstance.Uninitialize(); }