Commit 42ad2aa0 authored by Martin Sustrik's avatar Martin Sustrik

ZMQII-7: Pipe detach fails on shutdown

parent 29c5930d
......@@ -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_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment