1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 17:09:26 +02:00

Do not capture crashes in Debug builds

This commit is contained in:
Leland Lucius 2015-05-16 02:55:22 -05:00
parent ebc125de72
commit 151b4bbc8c

View File

@ -1092,11 +1092,14 @@ int AudacityApp::FilterEvent(wxEvent & event)
AudacityApp::AudacityApp() AudacityApp::AudacityApp()
{ {
// Do not capture crashes in debug builds
#if !defined(__WXDEBUG__)
#if defined(EXPERIMENTAL_CRASH_REPORT) #if defined(EXPERIMENTAL_CRASH_REPORT)
#if defined(wxUSE_ON_FATAL_EXCEPTION) && wxUSE_ON_FATAL_EXCEPTION #if defined(wxUSE_ON_FATAL_EXCEPTION) && wxUSE_ON_FATAL_EXCEPTION
wxHandleFatalExceptions(); wxHandleFatalExceptions();
#endif #endif
#endif #endif
#endif
} }
// The `main program' equivalent, creating the windows and returning the // The `main program' equivalent, creating the windows and returning the