summaryrefslogtreecommitdiffstats
path: root/src/JackInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JackInput.cpp')
-rw-r--r--src/JackInput.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/JackInput.cpp b/src/JackInput.cpp
index bc57588..4d9a530 100644
--- a/src/JackInput.cpp
+++ b/src/JackInput.cpp
@@ -34,6 +34,9 @@ using namespace std;
JackInput::~JackInput()
{
+ // Ensures push() doesn't get blocked
+ m_queue.clear();
+
if (m_client) {
jack_client_close(m_client);
}