瀏覽代碼

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 6 年之前
父節點
當前提交
0e2cb26b8f
共有 1 個文件被更改,包括 2 次插入0 次删除
  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));
     }
   }
 }