From f5a63e1e4a09b97dc31d966577f7925173d7b6a6 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 19 Apr 2021 14:16:27 -0400 Subject: [PATCH] Call Pa_Terminate() on exit, to free all Portaudio resources. --- map65/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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();