mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	If a client is killed while suspended with ^Z so has gone through the
MSG_EXITED dance, don't try to resume it since a) it's pointless and b) the tty structures have been cleaned up and tmux will crash.
This commit is contained in:
		@@ -875,6 +875,9 @@ server_client_msg_dispatch(struct client *c)
 | 
			
		||||
				break;
 | 
			
		||||
			c->flags &= ~CLIENT_SUSPENDED;
 | 
			
		||||
 | 
			
		||||
			if (c->tty.fd == -1) /* exited in the meantime */
 | 
			
		||||
				break;
 | 
			
		||||
 | 
			
		||||
			if (gettimeofday(&c->activity_time, NULL) != 0)
 | 
			
		||||
				fatal("gettimeofday");
 | 
			
		||||
			if (c->session != NULL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user