diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-10-18 09:11:36 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-10-18 09:11:36 +0200 |
commit | e73c96ba30c5e9ada83592bc2289a56eeadf6155 (patch) | |
tree | 69dce8a620faeba623eb5ceeec2c19d395ede9f7 /src | |
parent | 0c86f90280d69bd360f7566f9549c904c26d5e42 (diff) |
Minor comment improvement.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/session.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |