// Should be called on termination, no chance of reusing it afterwards public void Dispose() { _inputRingBufferStream.Dispose(); if (_socket != null) { _socket.Dispose(); _socket = null; } }
public void Dispose() { _inputRingBufferStream.Dispose(); _outputRingBufferStream.Dispose(); }