summaryrefslogtreecommitdiff
path: root/common/os_win32.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-09-27 19:33:09 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-09-27 19:33:09 +0100
commit7a381ff57d1616c9b80f67b9a0626beede8443ce (patch)
tree630b46875e4f7b47f46d70564933eebb7de6005d /common/os_win32.cpp
parent31278e9096e161f3ab8eb886c480560f17282412 (diff)
Ignore .NET exceptions.
Diffstat (limited to 'common/os_win32.cpp')
-rw-r--r--common/os_win32.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/os_win32.cpp b/common/os_win32.cpp
index 617928cc..e9306cdc 100644
--- a/common/os_win32.cpp
+++ b/common/os_win32.cpp
@@ -275,6 +275,15 @@ unhandledExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo)
return EXCEPTION_CONTINUE_SEARCH;
}
+ /*
+ * Ignore .NET exception.
+ *
+ * http://ig2600.blogspot.co.uk/2011/01/why-do-i-keep-getting-exception-code.html
+ */
+ if (pExceptionRecord->ExceptionCode == 0xe0434352) {
+ return EXCEPTION_CONTINUE_SEARCH;
+ }
+
// Clear direction flag
#ifdef _MSC_VER
#ifndef _WIN64