From 0d5f3ebbdad12a63e7cc28c53c38d750761a75e3 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 24 Aug 2010 09:39:17 +0200 Subject: [PATCH] sessions created by listerner are correctly shut down --- src/session.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/session.cpp b/src/session.cpp index 9655e64e..ea264f16 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_); }