0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02: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);
}};