From ac2adbb721afc58bd38ebebcbaf323a68e9e81be Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 8 Sep 2019 16:46:13 +0000 Subject: [PATCH] Fix check for closing clients in fb update --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index a4eb229..d250eb1 100644 --- a/src/server.c +++ b/src/server.c @@ -794,7 +794,7 @@ int nvnc_update_fb(struct nvnc *self, const struct nvnc_fb *fb, struct nvnc_client *client; 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; struct pixman_region16* cregion = &client->requested_region;