Call Pa_Terminate() on exit, to free all Portaudio resources.

This commit is contained in:
Joe Taylor 2021-04-19 14:16:27 -04:00
parent f712621177
commit f5a63e1e4a
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ MainWindow::~MainWindow()
soundOutThread.quitExecution=true;
soundOutThread.wait(3000);
}
PaError paerr=Pa_Terminate();
if(!m_decoderBusy) {
QFile lockFile(m_appDir + "/.lock");
lockFile.remove();