summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uvt_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uvt_client.c b/src/uvt_client.c
index fcacfc0..1735673 100644
--- a/src/uvt_client.c
+++ b/src/uvt_client.c
@@ -405,10 +405,10 @@ void uvt_client_kill(struct uvt_client *client)
client->ph = NULL;
}
- uvt_client_set_vt(client, NULL, NULL);
- uvt_client_waiters_release(client, -EPIPE);
shl_dlist_unlink(&client->list);
client->cdev = NULL;
+ uvt_client_set_vt(client, NULL, NULL);
+ uvt_client_waiters_release(client, -EPIPE);
}
/*