diff --git a/ircd/net_listener.cc b/ircd/net_listener.cc index cf8898c00..25ebaa42f 100644 --- a/ircd/net_listener.cc +++ b/ircd/net_listener.cc @@ -449,6 +449,9 @@ noexcept try if(interrupting) return false; + if(!a.is_open()) + return false; + interrupting = true; a.cancel(); return true;