summaryrefslogtreecommitdiff
path: root/src/vm/exceptionhandling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/exceptionhandling.cpp')
-rw-r--r--src/vm/exceptionhandling.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp
index 6a4d4d70c3..20035adbb0 100644
--- a/src/vm/exceptionhandling.cpp
+++ b/src/vm/exceptionhandling.cpp
@@ -4623,11 +4623,8 @@ VOID DECLSPEC_NORETURN UnwindManagedExceptionPass1(PAL_SEHException& ex)
if (controlPc == 0)
{
- if (!GetThread()->HasThreadStateNC(Thread::TSNC_ProcessedUnhandledException))
- {
- LONG disposition = InternalUnhandledExceptionFilter_Worker(&ex.ExceptionPointers);
- _ASSERTE(disposition == EXCEPTION_CONTINUE_SEARCH);
- }
+ // The unhandled exceptions should be caught by the high level exception filter
+ _ASSERTE(!"UnwindManagedExceptionPass1: Exception escaped the stack");
EEPOLICY_HANDLE_FATAL_ERROR(COR_E_EXECUTIONENGINE);
}