Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The allocation for the shared client could occur twice resulting in a…
… leak. Two threads could pass the nil check. One would acquire the lock and create the sharedClient. The second thread would eventually get the lock and also acquire a sharedClient.
- Loading branch information