aboutsummaryrefslogtreecommitdiffstats
path: root/src/InputZeroMQReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-23 13:20:01 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-23 13:20:01 +0100
commit8048e2e242c6029337bfe6cc056d2830b127044b (patch)
tree95870f30bde4b11184291326e0589ad2913a9714 /src/InputZeroMQReader.cpp
parentb03564a7d59d3bf15b9b8f9f2ae8bb6d8d35d955 (diff)
downloaddabmod-8048e2e242c6029337bfe6cc056d2830b127044b.tar.gz
dabmod-8048e2e242c6029337bfe6cc056d2830b127044b.tar.bz2
dabmod-8048e2e242c6029337bfe6cc056d2830b127044b.zip
Make sure the ZMQ input thread dies on Stop()
Diffstat (limited to 'src/InputZeroMQReader.cpp')
-rw-r--r--src/InputZeroMQReader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp
index 4b55434..afb6b7d 100644
--- a/src/InputZeroMQReader.cpp
+++ b/src/InputZeroMQReader.cpp
@@ -147,6 +147,7 @@ void InputZeroMQWorker::Start(struct InputZeroMQThreadData* workerdata)
void InputZeroMQWorker::Stop()
{
running = false;
+ zmqcontext.close();
recv_thread.join();
}