mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 18:18:56 +02:00
ircd::ctx: Move this branch condition.
This commit is contained in:
parent
ebd8539ce1
commit
141f4e1c0a
|
@ -325,12 +325,12 @@ ircd::ctx::terminate(ctx &ctx)
|
|||
void
|
||||
ircd::ctx::interrupt(ctx &ctx)
|
||||
{
|
||||
if(finished(ctx))
|
||||
return;
|
||||
|
||||
if(unlikely(ircd::runlevel == runlevel::QUIT))
|
||||
return terminate(ctx);
|
||||
|
||||
if(finished(ctx))
|
||||
return;
|
||||
|
||||
if(interruption(ctx))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue