From 062f6968a1dcb60c9f7633dd0f19e12c01d05257 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 14 Aug 2009 15:58:19 -0600 Subject: [PATCH] only emit a crash dump for access violations --- src/windows.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/windows.cpp b/src/windows.cpp index 52e353e82c..8af8dafe41 100644 --- a/src/windows.cpp +++ b/src/windows.cpp @@ -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;