/// <summary> /// Override this to perform any work necessary to leave a voice session /// </summary> public virtual void Disconnect() { if (_disconnected) { return; } _disconnected = true; _roomsManager.Dispose(); _channels.Dispose(); _commsProcessor.Stop(); _peers.Clear(); _connectionNegotiator.Stop(); Log.Info("Disconnected"); DispatchEvents(); }