Skip to content
New issue

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

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

Already on GitHub? # to your account

Make Context Closeable #864

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Make Context Closeable #864

merged 1 commit into from
Apr 14, 2021

Commits on Apr 13, 2021

  1. Make Context Closeable.

    This makes it possible to write:
    
    try (Context cx = Context.enter()) { ... }
    
    instead of using try...finally.
    gbrail committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    4e27a0c View commit details
    Browse the repository at this point in the history