vrend: Unconditionally destroy resources when cleaning up.

Destroy resources even if there is a pipe_reference.

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
macos/master
David Riley 6 years ago committed by David Riley
parent 1fdc471e29
commit 271db8a24b
  1. 2
      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);

Loading…
Cancel
Save