From bdc43541b79f618c5cbcdcf11dcc0dcdd046d682 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:05:33 +0900 Subject: Bug in linger implementation fixed Signed-off-by: Martin Sustrik --- src/session_base.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3