libphonenumber-csharp icon indicating copy to clipboard operation
libphonenumber-csharp copied to clipboard

PhoneNumberUtil.GetInstance() - avoid locking

Open willnogueira opened this issue 7 years ago • 0 comments

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.

willnogueira avatar Nov 01 '18 02:11 willnogueira