mirror of https://github.com/BOINC/boinc.git
Merge pull request #5532 from AenBleidd/vko_fix_close_windows_issue_on_linux
[Linux] When user closes BOINC Manager window with the EventLog open, close properly the application
This commit is contained in:
commit
84f3bd991e
|
@ -290,6 +290,12 @@ CAdvancedFrame::~CAdvancedFrame() {
|
|||
wxCHECK_RET(DeleteNotebook(), _T("Failed to delete notebook."));
|
||||
}
|
||||
|
||||
#ifdef __WXGTK__
|
||||
if (wxGetApp().GetEventLog()) {
|
||||
wxGetApp().GetEventLog()->Close();
|
||||
}
|
||||
#endif
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::~CAdvancedFrame - Function End"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue