0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::client: Close sockets before terminating contexts on shutdown.

This commit is contained in:
Jason Volk 2018-09-20 17:54:18 -07:00
parent 4214977b78
commit 9cced19111
2 changed files with 3 additions and 3 deletions

View file

@ -125,8 +125,8 @@ noexcept
{
const ctx::uninterruptible::nothrow ui;
terminate_all();
close_all();
terminate_all();
wait_all();
log::debug

View file

@ -230,9 +230,9 @@ noexcept try
{
_matrix_.close();
server::interrupt_all();
client::terminate_all();
server::close_all();
client::close_all();
server::close_all();
client::terminate_all();
server::wait_all();
client::wait_all();
}};