1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +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()
{
// Do not capture crashes in debug builds
#if !defined(__WXDEBUG__)
#if defined(EXPERIMENTAL_CRASH_REPORT)
#if defined(wxUSE_ON_FATAL_EXCEPTION) && wxUSE_ON_FATAL_EXCEPTION
wxHandleFatalExceptions();
#endif
#endif
#endif
}
// The `main program' equivalent, creating the windows and returning the