Commit 38e9103e authored by Martin Sustrik's avatar Martin Sustrik

issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed

parent 0f7aab52
......@@ -79,6 +79,7 @@ void zmq::object_t::process_command (command_t &cmd_)
case command_t::own:
process_own (cmd_.args.own.object);
process_seqnum ();
break;
case command_t::attach:
......@@ -182,6 +183,7 @@ void zmq::object_t::send_plug (owned_t *destination_, bool inc_seqnum_)
void zmq::object_t::send_own (socket_base_t *destination_, owned_t *object_)
{
destination_->inc_seqnum ();
command_t cmd;
cmd.destination = destination_;
cmd.type = command_t::own;
......
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