Explorar o código

Commenting on almost pointless call to ShowExtendedException in the main

Source commit: b36854cd40aa35943c3eef249145353007c54545
Martin Prikryl %!s(int64=9) %!d(string=hai) anos
pai
achega
a1e14741e4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      source/WinSCP.cpp

+ 2 - 0
source/WinSCP.cpp

@@ -43,6 +43,8 @@ WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int)
         // Capture most errors before Usage class is released,
         // so that we can count them
         Configuration->Usage->Inc(L"GlobalFailures");
+        // After we get WM_QUIT (posted by Application->Terminate()), i.e once Application->Run() exits,
+        // the message just blinks
         ShowExtendedException(&E);
       }
     }