소스 검색

Bug 1923: Automatically close timed out Session

https://winscp.net/tracker/1923
(cherry picked from commit 46f2afbd34a233360c674c65de0b190795c0e134)

Source commit: 02a531fe3e214e282473a45bd494b6107ba6ac39
Martin Prikryl 5 년 전
부모
커밋
4ddfc45e8d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      dotnet/Session.cs

+ 1 - 0
dotnet/Session.cs

@@ -2268,6 +2268,7 @@ namespace WinSCP
                 {
                     _logReader.SetTimeouted();
                 }
+                Cleanup();
                 throw Logger.WriteException(new TimeoutException(message));
             }