mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Give control code its own state struct.
This commit is contained in:
		@@ -306,6 +306,8 @@ server_client_lost(struct client *c)
 | 
			
		||||
	TAILQ_REMOVE(&clients, c, entry);
 | 
			
		||||
	log_debug("lost client %p", c);
 | 
			
		||||
 | 
			
		||||
	if (c->flags & CLIENT_CONTROL)
 | 
			
		||||
		control_stop(c);
 | 
			
		||||
	if (c->flags & CLIENT_TERMINAL)
 | 
			
		||||
		tty_free(&c->tty);
 | 
			
		||||
	free(c->ttyname);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user