mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::net::acceptor: Disregard interrupt when acceptor closed.
This commit is contained in:
parent
97269da444
commit
a948b5f00f
1 changed files with 3 additions and 0 deletions
|
@ -449,6 +449,9 @@ noexcept try
|
|||
if(interrupting)
|
||||
return false;
|
||||
|
||||
if(!a.is_open())
|
||||
return false;
|
||||
|
||||
interrupting = true;
|
||||
a.cancel();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue