1
0
Эх сурвалжийг харах

Commenting on almost pointless call to ShowExtendedException in the main

Source commit: b36854cd40aa35943c3eef249145353007c54545
Martin Prikryl 9 жил өмнө
parent
commit
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);
       }
     }