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

Initialize global hash during module load #363

Commits on Mar 11, 2017

  1. Initialize global hash during module load

    The idiom for lazy initialization with operator `||=` is not thread
    safe. Method `I18n#normalized_key_cache` was converted into a class
    variable initialized during module load to avoid a race condition.
    romuloceccon committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    649d435 View commit details
    Browse the repository at this point in the history