Please sign in to comment.
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...