Browse Source

Removed unnecessary override of Close().

drieseng 9 năm trước cách đây
mục cha
commit
b59573506a
1 tập tin đã thay đổi với 0 bổ sung9 xóa
  1. 0 9
      src/Renci.SshNet/Sftp/SftpFileStream.cs

+ 0 - 9
src/Renci.SshNet/Sftp/SftpFileStream.cs

@@ -292,15 +292,6 @@ namespace Renci.SshNet.Sftp
             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>