mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-26 08:38:51 +01: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>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -198,10 +198,11 @@ server_client_loop(void)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
server_client_handle_data(c);
|
server_client_handle_data(c);
|
||||||
|
if (c->session != NULL) {
|
||||||
server_client_check_timers(c);
|
server_client_check_timers(c);
|
||||||
server_client_check_redraw(c);
|
server_client_check_redraw(c);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Any windows will have been redrawn as part of clients, so clear
|
* Any windows will have been redrawn as part of clients, so clear
|
||||||
|
Loading…
Reference in New Issue
Block a user