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

Add context destruction blacklist. #1869

Merged
merged 1 commit into from
May 8, 2018
Merged

Conversation

AWoloszyn
Copy link
Contributor

This will cause a context and window leak, which is bad, but
only for certain hardware combinations.

We can remove once we figure out exactly waht is causing
this behavior.

@AWoloszyn AWoloszyn requested review from Qining and ben-clayton May 7, 2018 20:23
@AWoloszyn
Copy link
Contributor Author

This works around:
#1867

@@ -160,7 +160,17 @@ void buildDeviceInstance(const query::Option& opt, void* platform_data,
instance->set_allocated_configuration(configuration);
deviceInstanceID(instance);

query::destroyContext();
// Blacklist of OS/Hardware version that mean we cannot safely
Copy link
Contributor

Choose a reason for hiding this comment

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

s/mean/means

Link to bug in comment?

This will cause a context and window leak, which is bad, but
only for certain hardware combinations.

We can remove once we figure out exactly waht is causing
this behavior.
@AWoloszyn AWoloszyn merged commit 8021ef3 into google:master May 8, 2018
@AWoloszyn AWoloszyn deleted the blacklist branch May 8, 2018 13:22
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