Fix check for closing clients in fb update

tight-png
Andri Yngvason 2019-09-08 16:46:13 +00:00
parent 73987c2f17
commit ac2adbb721
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ int nvnc_update_fb(struct nvnc *self, const struct nvnc_fb *fb,
struct nvnc_client *client; struct nvnc_client *client;
LIST_FOREACH(client, &self->clients, link) { LIST_FOREACH(client, &self->clients, link) {
if (uv_is_closing((uv_handle_t*)&self->tcp_handle)) if (uv_is_closing((uv_handle_t*)&client->stream_handle))
continue; continue;
struct pixman_region16* cregion = &client->requested_region; struct pixman_region16* cregion = &client->requested_region;