summaryrefslogtreecommitdiff
path: root/src/fq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fq.cpp')
-rw-r--r--src/fq.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fq.cpp b/src/fq.cpp
index 9832c21..ad70633 100644
--- a/src/fq.cpp
+++ b/src/fq.cpp
@@ -73,6 +73,7 @@ void zmq::fq_t::terminated (reader_t *pipe_)
void zmq::fq_t::terminate ()
{
+ zmq_assert (!terminating);
terminating = true;
if (pipes.empty ()) {