From 8048e2e242c6029337bfe6cc056d2830b127044b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 23 Mar 2014 13:20:01 +0100 Subject: Make sure the ZMQ input thread dies on Stop() --- src/InputZeroMQReader.cpp | 1 + 1 file changed, 1 insertion(+) 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(); } -- cgit v1.2.3