mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::ctx: Move this branch condition.
This commit is contained in:
parent
ebd8539ce1
commit
141f4e1c0a
1 changed files with 3 additions and 3 deletions
|
@ -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