Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make testing stubs fully thread-safe
This change makes the initialization of the hash upon missing key fully thread-safe. Before this change, initialization that would occur in two threads could overwrite each other, as illustrated here: ruby-concurrency/concurrent-ruby#970
- Loading branch information