diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-26 15:40:31 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-26 15:40:31 +0200 |
commit | 1b851434726b3521add4dc226ee041b1e44bb7b3 (patch) | |
tree | 7d8c0bcdf2ab72dc3a6bf24bf443839ff67288bf | |
parent | 27c6111ebf2e94af6e93c35879efd310861bb08e (diff) | |
download | dabmux-1b851434726b3521add4dc226ee041b1e44bb7b3.tar.gz dabmux-1b851434726b3521add4dc226ee041b1e44bb7b3.tar.bz2 dabmux-1b851434726b3521add4dc226ee041b1e44bb7b3.zip |
TCP out: properly interrupt the thread
-rw-r--r-- | src/dabOutput/dabOutputTcp.cpp | 2 |
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(); } |