Skip to content

Commit

Permalink
fix error on closing the app on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoppich committed May 15, 2019
1 parent c9fc5fc commit f6caf35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@ int main(int argc, char **argv)
pApp->exec();
delete pApp;

std::cout.rdbuf(coutbuf);
std::cerr.rdbuf(cerrbuf);
out.close();

return 0;
}

0 comments on commit f6caf35

Please sign in to comment.