mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd::net: Ensure flag happens before cancel.
This commit is contained in:
parent
dd037988f3
commit
1c6a4bc8d1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue