Procházet zdrojové kódy

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

(cherry picked from commit eec4b1f4f4712cb8623577e9d09751a6825f6090)

Source commit: e9640e9b78815a8b6b8bdb83868067a006e5e012
Martin Prikryl před 6 roky
rodič
revize
0e2cb26b8f
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      source/forms/Editor.cpp

+ 2 - 0
source/forms/Editor.cpp

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