public override void Close() { if (writer != null) { writer.Dispose(); writer = null; } }
protected override void Dispose(bool disposing) { if (disposing) { _writer.Dispose(); _hdfs.Dispose(); } base.Dispose(disposing); }