protected virtual void Dispose(bool disposing) { if(_disposed) return; _frameWriter.Dispose(); _heartbeatManager.Dispose(); if(_cascadeDispose) { _reader.Dispose(); _writer.Dispose(); } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (_disposed) { return; } _frameWriter.Dispose(); if (_cascadeDispose) { _reader.Dispose(); _writer.Dispose(); } _disposed = true; }