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

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

Source commit: 20aeb31e48411113165fc079d2717ac1898736e7
Martin Prikryl 9 жил өмнө
parent
commit
5ea2d11292

+ 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);