Jacek Caban (@jacek) commented about dlls/winevulkan/vulkan.c:
if (!object) return;
- instance->funcs.p_vkDestroySurfaceKHR(instance->host_instance, object->driver_surface, NULL); remove_handle_mapping(instance, &object->wrapper_entry);
- instance->funcs.p_vkDestroySurfaceKHR(instance->host_instance, object->driver_surface, NULL);
Changes like that will make break unwrapping handles in debug callbacks from inside `vkDestroySurfaceKHR` (or similarly others), can we for some reason assume that they don't emit such callbacks?