summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-08-24 09:39:17 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-08-25 15:39:21 +0200
commit0d5f3ebbdad12a63e7cc28c53c38d750761a75e3 (patch)
tree0196a70eb1cde4efc2688d4174ecc2af81fe4806
parent5a731e73c855cd96040b3ecd55ef3b65606e1eb6 (diff)
sessions created by listerner are correctly shut down
-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_);
}