From 1b851434726b3521add4dc226ee041b1e44bb7b3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 26 Sep 2016 15:40:31 +0200 Subject: TCP out: properly interrupt the thread --- src/dabOutput/dabOutputTcp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dabOutput/dabOutputTcp.cpp b/src/dabOutput/dabOutputTcp.cpp index 9a84937..2c5a067 100644 --- a/src/dabOutput/dabOutputTcp.cpp +++ b/src/dabOutput/dabOutputTcp.cpp @@ -65,7 +65,7 @@ class TCPConnection ~TCPConnection() { m_running = false; - queue.notify(); + m_sender_thread.interrupt(); m_sender_thread.join(); } -- cgit v1.2.3