From e2686dc42231147e197a81877c2209aa1f998258 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Thu, 29 Jul 2021 22:59:22 +0000 Subject: [PATCH] f --- src/vkr_renderer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vkr_renderer.c b/src/vkr_renderer.c index 959bf72..09e9f74 100644 --- a/src/vkr_renderer.c +++ b/src/vkr_renderer.c @@ -4734,7 +4734,9 @@ vkr_context_detach_resource(struct virgl_context *base, struct virgl_resource *r static void vkr_context_destroy(struct virgl_context *base) { - /* TODO move the entire teardown process to a separate thread */ + /* TODO Move the entire teardown process to a separate thread so that the main thread + * cannot get blocked by the vkDeviceWaitIdle upon device destruction. + */ struct vkr_context *ctx = (struct vkr_context *)base; struct vkr_ring *ring, *ring_tmp;