0
0
Fork 0
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:
Jason Volk 2018-08-17 21:31:54 -07:00
parent ebd8539ce1
commit 141f4e1c0a

View file

@ -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;