mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Merge branch 'obsd-master' into master
This commit is contained in:
		@@ -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;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user