diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-11 15:51:35 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-11 15:51:35 +0200 |
commit | 42ad2aa02d3b14eaa3c36c3f1a5a5789546ba411 (patch) | |
tree | ab3b96c7ec4f9a96e3af638f69b2245bd54bfea3 /src | |
parent | 29c5930d0b9a4a1df3b90819bdfbfff6a66fedd0 (diff) |
ZMQII-7: Pipe detach fails on shutdown
Diffstat (limited to 'src')
-rw-r--r-- | src/socket_base.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index a26c280..f8b1bf7 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -357,6 +357,7 @@ void zmq::socket_base_t::attach_outpipe (class writer_t *pipe_) { pipe_->set_endpoint (this); out_pipes.push_back (pipe_); + pipe_->set_index (out_pipes.size () - 1); } void zmq::socket_base_t::revive (reader_t *pipe_) |