Browse Source

Commenting on almost pointless call to ShowExtendedException in the main

Source commit: b36854cd40aa35943c3eef249145353007c54545
Martin Prikryl 9 years ago
parent
commit
a1e14741e4
1 changed files with 2 additions and 0 deletions
  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);
       }
     }