aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-26 15:40:31 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-26 15:40:31 +0200
commit1b851434726b3521add4dc226ee041b1e44bb7b3 (patch)
tree7d8c0bcdf2ab72dc3a6bf24bf443839ff67288bf /src
parent27c6111ebf2e94af6e93c35879efd310861bb08e (diff)
downloaddabmux-1b851434726b3521add4dc226ee041b1e44bb7b3.tar.gz
dabmux-1b851434726b3521add4dc226ee041b1e44bb7b3.tar.bz2
dabmux-1b851434726b3521add4dc226ee041b1e44bb7b3.zip
TCP out: properly interrupt the thread
Diffstat (limited to 'src')
-rw-r--r--src/dabOutput/dabOutputTcp.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}