1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Ensures complete deallocation of the QAudioOutput.

This commit is contained in:
Thomas Harte 2020-06-30 23:33:41 -04:00
parent a096a09c72
commit 55cc3089f9

View File

@ -58,6 +58,7 @@ void MainWindow::deleteMachine() {
if(audioOutput) {
audioThread.performAsync([this] {
audioOutput->stop();
audioOutput.reset();
});
audioThread.stop();
}