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

View File

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