From 0d5f3ebbdad12a63e7cc28c53c38d750761a75e3 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 24 Aug 2010 09:39:17 +0200 Subject: sessions created by listerner are correctly shut down --- src/session.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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_); } -- cgit v1.2.3