public void Close() { Debug.Log("Closing mumble"); if (_manageSendBuffer != null) { _manageSendBuffer.Dispose(); } _manageSendBuffer = null; if (_tcpConnection != null) { _tcpConnection.Close(); } _tcpConnection = null; if (_udpConnection != null) { _udpConnection.Close(); } _udpConnection = null; if (_audioDecodeThread != null) { _audioDecodeThread.Dispose(); } _audioDecodeThread = null; Debug.Log("Mumble closed"); }
public void Close() { if (_tcpConnection != null) { _tcpConnection.Close(); } if (_udpConnection != null) { _udpConnection.Close(); } if (_manageSendBuffer != null) { _manageSendBuffer.Dispose(); } }
public void Close() { _tcpConnection.Close(); _udpConnection.Close(); _manageSendBuffer.Dispose(); }