0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd::server: Case for close during init.

This commit is contained in:
Jason Volk 2018-03-09 13:53:23 -08:00
parent e2569b4cb6
commit e09111ff4e

View file

@ -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));
}