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

va: fix handling when all wayland backends fail #788

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

tleydxdy
Copy link

@tleydxdy tleydxdy commented Jan 7, 2024

when all backend failed vaGetDisplayWl will just return a context that was already destroyed. This leads to crashes if downstream tries to use the context.

I'm not familiar with the unit test infra but it may make sense to add a unit test here..

when all backend failed vaGetDisplayWl will just return a context that
was already destroyed. This leads to crashes if downstream tries to use
the context.
@tleydxdy
Copy link
Author

oops I didn't mean to update this pr, just picking that commit to try it out myself...

@emersion
Copy link
Contributor

Is there anything holding off this patch?

@XinfengZhang XinfengZhang merged commit b8c7eed into intel:master Jan 22, 2024
28 checks passed
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.

3 participants