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:
parent
c6a59ab6b1
commit
4d6eb23352
|
@ -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);
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue