mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 08:59:28 +02:00
Do not capture crashes in Debug builds
This commit is contained in:
parent
ebc125de72
commit
151b4bbc8c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user