Fix SEH exceptions not handled properly when debugger is attached

This commit is contained in:
2022-12-18 12:29:46 +02:00
parent 2fee75517d
commit 8c4771a738

View File

@@ -308,7 +308,7 @@ LONG CALLBACK SehExceptionHandler(EXCEPTION_POINTERS* ep)
// Pause if debugging // Pause if debugging
if (Platform::IsDebuggerPresent()) if (Platform::IsDebuggerPresent())
{ {
PLATFORM_DEBUG_BREAK; return EXCEPTION_CONTINUE_SEARCH;
} }
// Crash engine // Crash engine