Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding locking for lazy-load of static dictionary in .NET
When running in parallel, there is a chance that multiple threads could attempt to populate a static dictionary used for translating error codes. This commit adds locking around the initialization of the static dictionary. Note that we are not using "double-check" locking, but the locking we use should be good enough. Fixes and closes issue SeleniumHQ#3166.
- Loading branch information