summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 9655e64..ea264f1 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -229,6 +229,8 @@ void zmq::session_t::process_attach (i_engine *engine_,
engine = engine_;
engine->plug (io_thread, this);
+ attach_processed = true;
+
// Trigger the notfication about the attachment.
attached (peer_identity_);
}