From 313abde4ea65cf4685ea7fd6b9fb5605f2e5f034 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Wed, 10 Jul 2019 11:39:50 -0700 Subject: [PATCH] xup: check term event for more responsive shutdown --- xup/xup.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xup/xup.c b/xup/xup.c index 23722456..1e31f753 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -226,6 +226,11 @@ lib_mod_connect(struct mod *mod) break; } + if (mod->server_is_term(mod)) + { + break; + } + i++; if (i >= 60)