Commit: 4b4b1582ebec5a97614783ce86867503adc30e85
Author: Grigory Revzin
Date:   Sun Jun 22 19:03:59 2014 +0400
https://developer.blender.org/rB4b4b1582ebec5a97614783ce86867503adc30e85

Stopped blender closing itself in debug build crashes on Win

TerminateProcess in creator.c crash handling prevented MSVC from seeing an
unhandled exception, now it won't so we can actually see where the problem
happened.

===================================================================

M       source/creator/creator.c

===================================================================

diff --git a/source/creator/creator.c b/source/creator/creator.c
index 0dad2fd..4348d81 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -627,8 +627,10 @@ static void blender_crash_handler(int signum)
 #ifndef WIN32
        kill(getpid(), signum);
 #else
+#ifndef DEBUG
        TerminateProcess(GetCurrentProcess(), signum);
 #endif
+#endif
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to