mirror of
https://github.com/tmux/tmux.git
synced 2025-04-21 11:58:48 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
bacae4b4ad
@ -446,7 +446,7 @@ server_destroy_session(struct session *s)
|
|||||||
TAILQ_FOREACH(c, &clients, entry) {
|
TAILQ_FOREACH(c, &clients, entry) {
|
||||||
if (c->session != s)
|
if (c->session != s)
|
||||||
continue;
|
continue;
|
||||||
server_client_set_session(c, NULL);
|
server_client_set_session(c, s_new);
|
||||||
if (s_new == NULL)
|
if (s_new == NULL)
|
||||||
c->flags |= CLIENT_EXIT;
|
c->flags |= CLIENT_EXIT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user