mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19: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) {
|
||||
if (c->session != s)
|
||||
continue;
|
||||
server_client_set_session(c, NULL);
|
||||
server_client_set_session(c, s_new);
|
||||
if (s_new == NULL)
|
||||
c->flags |= CLIENT_EXIT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user