Procházet zdrojové kódy

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

https://winscp.net/tracker/1744

Source commit: e74da8e68f05aff936783ccc7af7e35de6948e6a
Martin Prikryl před 6 roky
rodič
revize
f814c51ec4
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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));
             }