Skip to content

Commit

Permalink
Removed unnecessary override of Close().
Browse files Browse the repository at this point in the history
  • Loading branch information
drieseng committed Mar 24, 2016
1 parent 2240442 commit b595735
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Renci.SshNet/Sftp/SftpFileStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,6 @@ internal SftpFileStream(ISftpSession session, string path, FileMode mode, FileAc
Dispose(false);
}

/// <summary>
/// Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
/// </summary>
public override void Close()
{
Dispose(true);
GC.SuppressFinalize(this);
}

/// <summary>
/// Clears all buffers for this stream and causes any buffered data to be written to the file.
/// </summary>
Expand Down

0 comments on commit b595735

Please sign in to comment.