From e73c96ba30c5e9ada83592bc2289a56eeadf6155 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 18 Oct 2010 09:11:36 +0200 Subject: Minor comment improvement. Signed-off-by: Martin Sustrik --- src/session.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/session.cpp b/src/session.cpp index aae7e3c..f853d5a 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -224,6 +224,8 @@ void zmq::session_t::process_attach (i_engine *engine_, } // If we are already terminating, we destroy the engine straight away. + // Note that we don't have to unplug it before deleting as it's not + // yet plugged to the session. if (state == terminating) { delete engine; return; -- cgit v1.2.3