Don't try to continue processing a client if the session has been destroyed.

This commit is contained in:
Nicholas Marriott 2009-10-25 22:00:15 +00:00
parent 48b6d18e7f
commit 3c9619bb0a

View File

@ -199,10 +199,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