0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd::net: Use non-future close() in open() callback on error.

This commit is contained in:
Jason Volk 2019-09-17 16:37:27 -07:00
parent 252a89fbaa
commit 9b5a391e14

View file

@ -729,7 +729,7 @@ ircd::net::open(socket &socket,
(std::exception_ptr eptr) (std::exception_ptr eptr)
{ {
if(eptr && !s->fini) if(eptr && !s->fini)
close(*s, dc::RST); close(*s, dc::RST, close_ignore);
handler(std::move(eptr)); handler(std::move(eptr));
}}; }};