mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd::server: Case for close during init.
This commit is contained in:
parent
e2569b4cb6
commit
e09111ff4e
1 changed files with 6 additions and 0 deletions
|
@ -1152,6 +1152,12 @@ ircd::server::link::handle_close(std::exception_ptr eptr)
|
|||
{
|
||||
assert(op_fini);
|
||||
|
||||
if(op_init)
|
||||
{
|
||||
assert(bool(eptr));
|
||||
op_init = false;
|
||||
}
|
||||
|
||||
if(peer)
|
||||
peer->handle_close(*this, std::move(eptr));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue