Close minidump immediately after generating it.
This commit is contained in:
parent
902e23c974
commit
1dca734e05
@ -28,10 +28,9 @@ namespace Components
|
|||||||
}
|
}
|
||||||
else
|
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)
|
switch (ExceptionInfo->ExceptionRecord->ExceptionCode)
|
||||||
{
|
{
|
||||||
case EXCEPTION_STACK_OVERFLOW:
|
case EXCEPTION_STACK_OVERFLOW:
|
||||||
|
Loading…
Reference in New Issue
Block a user