commit | 7b098da956c6a04a89cc262a10ecc75efc63e699 | [log] [tgz] |
---|---|---|
author | Dustin Graves <dustin@lunarg.com> | Fri Apr 29 11:55:43 2016 -0600 |
committer | Tobin Ehlis <tobine@google.com> | Fri Apr 29 12:17:14 2016 -0600 |
tree | ba61cd043ba68c926d6e3976181fbe2c685f61ca | |
parent | 7c4de875fec63178f4e20475f1de24fe23b2bf9c [diff] |
layers: Fix access violation Move the get_dispatch_key(instance/device) call before calling the driver's vkDestroyDevice/vkDestroyInstance functions in unique_objects. This addresses an access violation error reported by Application Verifier on Windows due to the previously destroyed instance/device handle being dereferenced. Change-Id: I151d42fb8a897d9d3b3c988813108b0b6b5b6b0d