summaryrefslogtreecommitdiff
path: root/src/session_base.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:33 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:33 +0900
commitbdc43541b79f618c5cbcdcf11dcc0dcdd046d682 (patch)
tree5b0e74509d86e6dd542962a54b3bc938dc6aad76 /src/session_base.cpp
parent290705f05fb84088c6da1448223cbb32d5e5b200 (diff)
Bug in linger implementation fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/session_base.cpp')
-rw-r--r--src/session_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session_base.cpp b/src/session_base.cpp
index acb13b3..efc4f8b 100644
--- a/src/session_base.cpp
+++ b/src/session_base.cpp
@@ -357,6 +357,7 @@ void xs::session_base_t::timer_event (handle_t handle_)
// Linger period expired. We can proceed with termination even though
// there are still pending messages to be sent.
xs_assert (handle_ == linger_timer);
+ linger_timer = NULL;
// Ask pipe to terminate even though there may be pending messages in it.
xs_assert (pipe);