mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +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
|
void
|
||||||
ircd::ctx::interrupt(ctx &ctx)
|
ircd::ctx::interrupt(ctx &ctx)
|
||||||
{
|
{
|
||||||
if(finished(ctx))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if(unlikely(ircd::runlevel == runlevel::QUIT))
|
if(unlikely(ircd::runlevel == runlevel::QUIT))
|
||||||
return terminate(ctx);
|
return terminate(ctx);
|
||||||
|
|
||||||
|
if(finished(ctx))
|
||||||
|
return;
|
||||||
|
|
||||||
if(interruption(ctx))
|
if(interruption(ctx))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue