summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mon/Monitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc
index 90750dd7b11..6c943832ac1 100644
--- a/src/mon/Monitor.cc
+++ b/src/mon/Monitor.cc
@@ -605,13 +605,13 @@ void Monitor::shutdown()
finish_contexts(g_ceph_context, waitfor_quorum, -ECANCELED);
finish_contexts(g_ceph_context, maybe_wait_for_quorum, -ECANCELED);
-
timer.shutdown();
+ remove_all_sessions();
+
// unlock before msgr shutdown...
lock.Unlock();
- remove_all_sessions();
messenger->shutdown(); // last thing! ceph_mon.cc will delete mon.
}