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

Allow returning null context pointers from Runtime::get(). #545

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

jdm
Copy link
Member

@jdm jdm commented Dec 24, 2024

This assertion fails in various tests and real browser usage, because it's still possible to call this API while shutdown is in progress. Instead of asserting against a valid use, we can use the type system to ensure that callers make informed choices.

@sagudev
Copy link
Member

sagudev commented Dec 24, 2024

I will make PR to fix integrity today.

@jdm jdm force-pushed the optional-runtime-cx branch from 2ce8e6e to f64b290 Compare December 25, 2024 07:38
@jdm jdm enabled auto-merge December 25, 2024 07:39
@jdm jdm added this pull request to the merge queue Dec 25, 2024
Merged via the queue into servo:main with commit 0081fc4 Dec 25, 2024
27 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.

2 participants