Skip to content

Commit

Permalink
issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sustrik committed Apr 8, 2010
1 parent 0f7aab5 commit 38e9103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 38e9103

Please sign in to comment.