diff options
Diffstat (limited to 'source/main.cpp')
-rw-r--r-- | source/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/main.cpp b/source/main.cpp index 011a50f83..1868e30ca 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -26,7 +26,9 @@ int main( int argc, char **argv ) _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#endif
+#ifndef _DEBUG
std::signal(SIGSEGV, ShowCrashReport);
+#endif
try
{
|