libphonenumber-csharp
libphonenumber-csharp copied to clipboard
PhoneNumberUtil.GetInstance() - avoid locking
This change will avoid locking (and switching thread context) in a multi-threaded environment, when PhoneNumberUtil.GetInstance() is called. It will still lock when the instance is not initialized yet.