diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 1a6a1d1a4..4a042a49c 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -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();