mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Merge branch 'obsd-master'
This commit is contained in:
5
server.c
5
server.c
@ -294,9 +294,8 @@ server_send_exit(void)
|
||||
if (c->flags & CLIENT_SUSPENDED)
|
||||
server_client_lost(c);
|
||||
else {
|
||||
if (c->flags & CLIENT_ATTACHED)
|
||||
notify_client("client-detached", c);
|
||||
proc_send(c->peer, MSG_SHUTDOWN, -1, NULL, 0);
|
||||
c->flags |= CLIENT_EXIT;
|
||||
c->exit_type = CLIENT_EXIT_SHUTDOWN;
|
||||
}
|
||||
c->session = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user