public void TearDown() { _voiceServer.Stop(); _voiceServer.Dispose(); _voiceServer = null; _voiceWrapper = null; }
public void TearDown() { if (_voiceServer.Started) { _voiceServer.Stop(); } _voiceServer.Dispose(); _voiceServer = null; _voiceClientFactory = null; _voiceWrapper = null; }
public void TearDown() { _voiceServer.RemoveClient(_voiceClient); _voiceClient = null; _voiceServer.Dispose(); _voiceServer = null; _voiceWrapper = null; _clientConnectingInvokes = 0; _clientConnectedInvokes = 0; _clientDisconnectedInvokes = 0; _clientSpeakersMuteInvokes = 0; _clientMicrophoneMuteInvokes = 0; _clientRejectedInvokes = 0; _clientTalkingChangedInvokes = 0; }