forked from bartvdbraak/blender
Disable writing a crash file completely on Windows.
We had some reports where users did not even read the "Not supported on release builds" message, and arguably writing a file sort of indicates that the file may include something useful.
This commit is contained in:
parent
a6101cde06
commit
893677a76a
@ -678,7 +678,11 @@ LONG WINAPI windows_exception_handler(EXCEPTION_POINTERS *ExceptionInfo)
|
||||
/* If this is a stack overflow then we can't walk the stack, so just show
|
||||
* where the error happened */
|
||||
if (EXCEPTION_STACK_OVERFLOW != ExceptionInfo->ExceptionRecord->ExceptionCode) {
|
||||
#ifdef NDEBUG
|
||||
TerminateProcess(GetCurrentProcess(), SIGSEGV);
|
||||
#else
|
||||
blender_crash_handler(SIGSEGV);
|
||||
#endif
|
||||
}
|
||||
|
||||
return EXCEPTION_EXECUTE_HANDLER;
|
||||
|
Loading…
Reference in New Issue
Block a user