1
0
Эх сурвалжийг харах

Bug 1744: Failure when .NET assembly times out waiting for WinSCP to start

https://winscp.net/tracker/1744

Source commit: e74da8e68f05aff936783ccc7af7e35de6948e6a
Martin Prikryl 6 жил өмнө
parent
commit
f814c51ec4
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      dotnet/Session.cs

+ 4 - 1
dotnet/Session.cs

@@ -1897,7 +1897,10 @@ namespace WinSCP
                 {
                     message += " - " + additional;
                 }
-                _logReader.SetTimeouted();
+                if (_logReader != null)
+                {
+                    _logReader.SetTimeouted();
+                }
                 throw Logger.WriteException(new TimeoutException(message));
             }