mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd::client: Assert socket finish state during wait_all().
This commit is contained in:
parent
cb310fd75f
commit
ba3f3fc09a
1 changed files with 4 additions and 0 deletions
|
@ -175,12 +175,16 @@ ircd::client::wait_all()
|
|||
while(!dock.wait_for(seconds(3), is_empty))
|
||||
{
|
||||
for(const auto &[remote, client] : client::map)
|
||||
{
|
||||
log::dwarning
|
||||
{
|
||||
log, "Waiting for client %s",
|
||||
client->loghead(),
|
||||
};
|
||||
|
||||
assert(!client->sock || client->sock->fini);
|
||||
}
|
||||
|
||||
log::warning
|
||||
{
|
||||
log, "Waiting for %zu clients to close...",
|
||||
|
|
Loading…
Reference in a new issue