mirror of
https://github.com/TomHarte/CLK.git
synced 2025-11-01 11:16:16 +00:00
Attempts to ensure clean shutdown.
This commit is contained in:
@@ -66,9 +66,7 @@ MainWindow::~MainWindow() {
|
||||
// Stop the audio output, and its thread.
|
||||
if(audioOutput) {
|
||||
audioOutput->stop();
|
||||
|
||||
audioThread.quit();
|
||||
while(audioThread.isRunning());
|
||||
audioThread.stop();
|
||||
}
|
||||
|
||||
// Stop the timer.
|
||||
|
||||
Reference in New Issue
Block a user