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

an optimized version of Context#close() #1460

Merged
merged 2 commits into from
Apr 27, 2024
Merged

Conversation

rbri
Copy link
Collaborator

@rbri rbri commented Mar 29, 2024

  • implement an optimized version of Context#close()
  • use try-with-resources for the context at more places

@rbri
Copy link
Collaborator Author

rbri commented Apr 27, 2024

A really small optimization that avoids at least one VM bride call and cleans up the code.
I got no complains for this, will merge this now.

@rbri rbri merged commit 7c710f1 into mozilla:master Apr 27, 2024
3 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.

1 participant