0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd: Use unwind::defer to enter run::level::HALT.

This commit is contained in:
Jason Volk 2019-04-18 05:46:20 -07:00
parent c6a59ab6b1
commit 4d6eb23352

View file

@ -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);
}};