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

Improve TreeTypeAdapter thread-safety #1976

Commits on Sep 24, 2021

  1. Improve TreeTypeAdapter thread-safety

    Gson claims to be thread-safe so TreeTypeAdapter.delegate() might be
    called by multiple threads. To guarantee that each thread sees a fully
    constructed `delegate`, the field has to be `volatile`.
    Marcono1234 committed Sep 24, 2021
    Copy the full SHA
    9a9d502 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Copy the full SHA
    c316f7d View commit details
    Browse the repository at this point in the history