mirror of https://github.com/BOINC/boinc.git
MGR: Only dump a crash report if wxUSE_DEBUGREPORT is defined in wxWidgets.
This commit is contained in:
parent
1eb4643e15
commit
c9982c4813
|
@ -568,6 +568,9 @@ void CBOINCGUIApp::OnEndSession(wxCloseEvent& ) {
|
|||
|
||||
|
||||
void CBOINCGUIApp::OnFatalException() {
|
||||
|
||||
#ifdef wxUSE_DEBUGREPORT
|
||||
|
||||
wxDebugReportCompress* report = new wxDebugReportCompress;
|
||||
|
||||
if (report->IsOk()) {
|
||||
|
@ -585,6 +588,9 @@ void CBOINCGUIApp::OnFatalException() {
|
|||
}
|
||||
|
||||
delete report;
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue