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:
parent
4214977b78
commit
9cced19111
|
@ -125,8 +125,8 @@ noexcept
|
|||
{
|
||||
const ctx::uninterruptible::nothrow ui;
|
||||
|
||||
terminate_all();
|
||||
close_all();
|
||||
terminate_all();
|
||||
wait_all();
|
||||
|
||||
log::debug
|
||||
|
|
|
@ -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();
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue