From 271db8a24bdf8edd8642b0564b3277383fb3bfd7 Mon Sep 17 00:00:00 2001 From: David Riley Date: Thu, 25 Apr 2019 12:24:16 -0700 Subject: [PATCH] vrend: Unconditionally destroy resources when cleaning up. Destroy resources even if there is a pipe_reference. Signed-off-by: David Riley Reviewed-By: Gert Wollny --- src/vrend_renderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index e06157d..5f3d091 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -5642,6 +5642,8 @@ vrend_renderer_fini(void) if (!vrend_state.inited) return; + vrend_resource_set_destroy_callback(vrend_renderer_resource_destroy); + vrend_free_sync_thread(); if (vrend_state.eventfd != -1) { close(vrend_state.eventfd);