浏览代码

Commenting on almost pointless call to ShowExtendedException in the main

Source commit: b36854cd40aa35943c3eef249145353007c54545
Martin Prikryl 9 年之前
父节点
当前提交
a1e14741e4
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
       }
     }