mirror of
https://github.com/tmux/tmux.git
synced 2024-11-05 02:18:47 +00:00
Sync OpenBSD patchset 448:
Don't try to continue processing a client if the session has been destroyed.
This commit is contained in:
parent
181f7722b3
commit
6338fd78f7
@ -1,4 +1,4 @@
|
||||
/* $Id: server-client.c,v 1.6 2009-10-28 22:48:35 tcunha Exp $ */
|
||||
/* $Id: server-client.c,v 1.7 2009-10-28 22:50:24 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -198,9 +198,10 @@ server_client_loop(void)
|
||||
continue;
|
||||
|
||||
server_client_handle_data(c);
|
||||
|
||||
server_client_check_timers(c);
|
||||
server_client_check_redraw(c);
|
||||
if (c->session != NULL) {
|
||||
server_client_check_timers(c);
|
||||
server_client_check_redraw(c);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user