Skip to content

Commit

Permalink
Fixed crash on exit GrandOrgue if there were log messages (GrandOrgue…
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 authored Jul 22, 2024
1 parent ef3f3e9 commit 2497bf1
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 2497bf1

Please sign in to comment.