Pārlūkot izejas kodu

Log any XML log content changes when disposing stream reader, particularly when when session is closed due to to timeout, we want to be sure, we didn't miss any change by mistake

Source commit: c9668432fb8c5f30df0887044346b9ca81e21b73
Martin Prikryl 7 gadi atpakaļ
vecāks
revīzija
8c812a0430
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      dotnet/internal/SessionLogReader.cs

+ 1 - 0
dotnet/internal/SessionLogReader.cs

@@ -19,6 +19,7 @@ namespace WinSCP
         {
             using (Session.Logger.CreateCallstack())
             {
+                LogContents();
                 Cleanup();
             }
             base.Dispose();