summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hurton <hurtonm@gmail.com>2010-06-19 20:46:16 +0200
committerMartin Hurton <hurtonm@gmail.com>2010-06-19 20:51:42 +0200
commit10c28c1fc2f06c93e12a7c60f79a315cec7c5a52 (patch)
tree732fa5c93d93ad64952398f50f99d0e4332d87f4
parent2c3913bb19fa95e7decaa7967e2469dc428e46b0 (diff)
Revive reader on pipe termination
-rw-r--r--src/pipe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe.cpp b/src/pipe.cpp
index d62085d..ff64716 100644
--- a/src/pipe.cpp
+++ b/src/pipe.cpp
@@ -204,7 +204,7 @@ void zmq::writer_t::term ()
msg.content = (void*) (offset + ZMQ_DELIMITER);
msg.flags = 0;
pipe->write (msg, false);
- pipe->flush ();
+ flush ();
}
void zmq::writer_t::process_reader_info (uint64_t msgs_read_)