diff options
-rw-r--r-- | common/os_win32.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/os_win32.cpp b/common/os_win32.cpp index c677392..654db16 100644 --- a/common/os_win32.cpp +++ b/common/os_win32.cpp @@ -161,6 +161,12 @@ SetExceptionCallback(void (*callback)(void)) gCallback = callback; assert(!prevExceptionFilter); + + /* + * TODO: Unfortunately it seems that the CRT will reset the exception + * handler in certain circumnstances. See + * http://www.codeproject.com/KB/winsdk/crash_hook.aspx + */ prevExceptionFilter = SetUnhandledExceptionFilter(UnhandledExceptionFilter); } } |