Commit 98fa2fa8 authored by Martin Sustrik's avatar Martin Sustrik

fix in XREP's fair queueing mechanism

parent 7881ba1b
......@@ -95,6 +95,8 @@ void zmq::xrep_t::terminated (reader_t *pipe_)
inpipes.erase (it);
if (terminating)
unregister_term_ack ();
if (current_in >= inpipes.size ())
current_in = 0;
return;
}
}
......
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