Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destroy queue before device #168

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Conversation

apricotbucket28
Copy link
Contributor

See: zed-industries/zed#17005

Right now, the device is being destroyed before the queue. This causes crashes at least on Wayland (both in Zed and the examples in this repo).

There are still some Vulkan validation errors related to objects not being destroyed, but it's not crashing anymore at least 😅

Copy link
Owner

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't actually destroying the queue before anything
queue isn't being destroyed in Vulkan
but it fixes the order of destruction for the queue semaphores

@kvark kvark merged commit 6dec593 into kvark:main Aug 31, 2024
5 checks passed
@apricotbucket28 apricotbucket28 deleted the queue-destroy branch August 31, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants