From 38e9103e0c82bcbb61a9c23ed3a4ace1c7420f95 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 8 Apr 2010 08:33:38 +0200 Subject: issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed --- src/object.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/object.cpp') 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; -- cgit v1.2.3