0
0
Fork 0
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:
Jason Volk 2020-06-12 19:14:07 -07:00
parent 97269da444
commit a948b5f00f

View file

@ -449,6 +449,9 @@ noexcept try
if(interrupting)
return false;
if(!a.is_open())
return false;
interrupting = true;
a.cancel();
return true;