From 4d6eb23352b50e9b914d7dd701225e0d0777ba7a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 18 Apr 2019 05:46:20 -0700 Subject: [PATCH] ircd: Use unwind::defer to enter run::level::HALT. --- ircd/ircd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/ircd.cc b/ircd/ircd.cc index 265945710..1f4a1c340 100644 --- a/ircd/ircd.cc +++ b/ircd/ircd.cc @@ -203,7 +203,7 @@ noexcept try // When this function completes without exception, subsystems are done shutting down and IRCd // transitions to HALT. - const unwind halted{[] + const unwind::defer halted{[] { run::set(run::level::HALT); }};