0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-26 13:58:18 +02:00

ircd::net: Ensure flag happens before cancel.

This commit is contained in:
Jason Volk 2018-07-06 18:40:58 -07:00
parent dd037988f3
commit 1c6a4bc8d1

View file

@ -1034,8 +1034,8 @@ bool
ircd::net::listener::acceptor::interrupt()
noexcept try
{
a.cancel();
interrupting = true;
a.cancel();
return true;
}
catch(const boost::system::system_error &e)