On Mon Jun 12 14:39:02 2023 +0000, Conor McCarthy wrote:
changed this line in [version 4 of the diff](/wine/vkd3d/-/merge_requests/216/diffs?diff_id=51403&start_sha=f168489f35614a8556418200b2fd8d82743c0dfb#6ce56346069f6ab6f2e9a298a46873ae68494ff2_6236_6235)
It's invalid to free a resource while a binding operation is pending, and it is still pending for the caller even if we've delayed it in our virtual queue. I think generally we don't do "just in case" AddRef() calls and instead fix issues if/when they arise.