Skip to content

Commit

Permalink
Fixed crash on exit GrandOrgue if there were log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Jul 19, 2024
1 parent 450936a commit f8382aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/grandorgue/GOApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ void GOApp::MacOpenFile(const wxString &filename) {
int GOApp::OnRun() { return wxApp::OnRun(); }

int GOApp::OnExit() {
wxLog::FlushActive();
wxLog::SetActiveTarget(NULL);

int rc = wxApp::OnExit();
Expand Down

0 comments on commit f8382aa

Please sign in to comment.