xup: check term event for more responsive shutdown

This commit is contained in:
Jay Sorg 2019-07-10 11:39:50 -07:00
parent cc2f918cd4
commit 313abde4ea
1 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,11 @@ lib_mod_connect(struct mod *mod)
break;
}
if (mod->server_is_term(mod))
{
break;
}
i++;
if (i >= 60)