only emit a crash dump for access violations

This commit is contained in:
Joel Dice 2009-08-14 15:58:19 -06:00
parent 42622d0d25
commit 062f6968a1

View File

@ -873,10 +873,10 @@ handleException(LPEXCEPTION_POINTERS e)
if (jump) {
return EXCEPTION_CONTINUE_EXECUTION;
}
}
if (system->crashDumpDirectory) {
dump(e, system->crashDumpDirectory);
if (system->crashDumpDirectory) {
dump(e, system->crashDumpDirectory);
}
}
return EXCEPTION_CONTINUE_SEARCH;