To avoid Destroy/Create and Free/Alloc race conditions (when a driver
returns a destroyed(freed) handle between the PreCall and PostCall
phases of a validation intercept routine, PostCallRecord functionality
has been moved to PreCall. This affects the following calls
While I can't comment on actual changes in the layer since I don't have any experience working with that code, I can definitely confirm I can't repro the reported issues with these changes in. Good work :-)
Fixes #2607 and #2608
To avoid Destroy/Create and Free/Alloc race conditions (when a driver returns a destroyed(freed) handle between the PreCall and PostCall phases of a validation intercept routine, PostCallRecord functionality has been moved to PreCall. This affects the following calls
Did not alter the destroy functions for Instance, Device, or the Debug or layer extensions.
@cnorthrop -- this change touches a lot of routines making sure the Android view is okay