vulkan/wsi: Destroy swapchain images after terminating FIFO queues
authorCameron Kumar <ckumar@feralinteractive.com>
Fri, 1 Jun 2018 11:16:19 +0000 (12:16 +0100)
committerAlex Smith <asmith@feralinteractive.com>
Fri, 8 Jun 2018 13:06:46 +0000 (14:06 +0100)
The queue_manager thread can access the images from x11_present_to_x11,
hence this reorder prevents dereferencing of dangling pointers.

Cc: "18.1" <mesa-stable@lists.freedesktop.org>
Fixes: e73d136a023080 ("vulkan/wsi/x11: Implement FIFO mode.")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>

No differences found