Browse Source

IsInternalException check in DoExceptNotify is not just optimization anymore, once we call AppendExceptionStackTraceAndForget in ExceptionMessageDialog unconditionally

Source commit: 20aeb31e48411113165fc079d2717ac1898736e7
Martin Prikryl 9 years ago
parent
commit
5ea2d11292
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/windows/WinInterface.cpp

+ 1 - 1
source/windows/WinInterface.cpp

@@ -668,7 +668,7 @@ static void __fastcall DoExceptNotify(TObject * ExceptObj, void * ExceptAddr,
   if (ExceptObj != NULL)
   {
     Exception * E = dynamic_cast<Exception *>(ExceptObj);
-    if ((E != NULL) && IsInternalException(E)) // optimization
+    if ((E != NULL) && IsInternalException(E))
     {
       DoExceptionStackTrace(ExceptObj, ExceptAddr, OSException, BaseOfStack);