Open willnogueira opened 5 years ago
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.
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.