summaryrefslogtreecommitdiff
path: root/src/session_base.cpp
diff options
context:
space:
mode:
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);