Return to server-client.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.348, 2020/05/24 09:13:06 | version 1.349, 2020/05/24 09:40:17 | ||
---|---|---|---|
|
|
||
TAILQ_REMOVE(&clients, c, entry); | TAILQ_REMOVE(&clients, c, entry); | ||
log_debug("lost client %p", c); | log_debug("lost client %p", c); | ||
if (c->flags & CLIENT_CONTROL) | |||
control_stop(c); | |||
if (c->flags & CLIENT_TERMINAL) | if (c->flags & CLIENT_TERMINAL) | ||
tty_free(&c->tty); | tty_free(&c->tty); | ||
free(c->ttyname); | free(c->ttyname); |