Browse Source

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 năm trước cách đây
mục cha
commit
0e2cb26b8f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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));
     }
   }
 }