Close minidump immediately after generating it.

This commit is contained in:
/dev/urandom 2016-08-29 07:59:52 +02:00
parent 902e23c974
commit 1dca734e05
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -28,10 +28,9 @@ namespace Components
}
else
{
MessageBoxA(0, "Failed to create file!", "ERROR", MB_ICONERROR);
delete minidump;
}
printf("Trying to print an error message from ExceptionFilter...");
switch (ExceptionInfo->ExceptionRecord->ExceptionCode)
{
case EXCEPTION_STACK_OVERFLOW: