]> git.sesse.net Git - nageru/commit
Fix a cleanup issue.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Dec 2018 17:39:02 +0000 (18:39 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Dec 2018 17:39:02 +0000 (18:39 +0100)
commit8ef13cde4979e73002c5af91a8f333c7b3a9d4a7
tree1e63d879e45ccc281c2b37650a3336e3c982a479
parent271ddbb0c7e84560e73e89b1a125576477f95380
Fix a cleanup issue.

In newer Qt, evidently when using the close button on the window
(not when calling close() as a result of a menu item!), the GLWidgets'
contexts will be gone by the time app.exec() returns, preventing us
from doing proper cleanup. Do the mixer cleanup in closeEvent() instead,
fixing the issue.
nageru/main.cpp
nageru/mainwindow.cpp