summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-04-08 08:33:38 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-08 08:33:38 +0200
commit38e9103e0c82bcbb61a9c23ed3a4ace1c7420f95 (patch)
treef9bd2209921493acbf79cc8293865afefbe93a72
parent0f7aab5212ef66f7e292fe4ca891660859972ec4 (diff)
issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed
-rw-r--r--src/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp
index 5821c89..9221280 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -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;