mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::net: Use non-future close() in open() callback on error.
This commit is contained in:
parent
252a89fbaa
commit
9b5a391e14
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ ircd::net::open(socket &socket,
|
|||
(std::exception_ptr eptr)
|
||||
{
|
||||
if(eptr && !s->fini)
|
||||
close(*s, dc::RST);
|
||||
close(*s, dc::RST, close_ignore);
|
||||
|
||||
handler(std::move(eptr));
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue