Source commit: 0ed6aaf3d8fe6f5e096ab44e66462cbf3d70ed62
@@ -10,6 +10,17 @@ namespace WinSCP
_session = session;
}
+ override public void Close()
+ {
+ if (_stream != null)
+ _stream.Close();
+ _stream = null;
+ }
+
+ base.Close();
private const int InitialInterval = 50;
public override int Read(byte[] array, int offset, int count)