Pārlūkot izejas kodu

Do not consider even "access violation" error if user loads too large file, despite being warned, as an internal error (see also 0028f4da)

Source commit: 8aa669d542593891f8ee13e79e0ea45cae70f21f
Martin Prikryl 6 gadi atpakaļ
vecāks
revīzija
eec4b1f4f4
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      source/forms/Editor.cpp

+ 2 - 0
source/forms/Editor.cpp

@@ -1421,7 +1421,9 @@ void __fastcall TEditorForm::CheckFileSize()
         }
       }
 
+      // Those are actually nearly all internal exceptions we ever practically get
       IgnoreException(typeid(EOutOfMemory));
+      IgnoreException(typeid(EAccessViolation));
     }
   }
 }